Details
-
Story
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
Description
When querying
/api/ibexa/v2/product/catalog/product_types/attribute_measurement_check
Data returned for Product Type attributes does not allow for proper use in subsequent requests for Product creation, because we do not have available units list for attributes.
{ "ProductType": { "_media-type": "application\/vnd.ibexa.api.ProductType+json", "identifier": "attribute_measurement_check", "name": "Dress", "AttributeAssignmentList": [ { "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", "is_required": false, "is_discriminator": false, "Attribute": { "_media-type": "application\/vnd.ibexa.api.Attribute+json", "identifier": "measurement_single_identifier", "name": "", "description": null, "type": "Measurement (single)", "type_identifier": "measurement_single", "group": "", "position": 0, "options": { "type": "length", "unit": "centimeter", "sign": "none" }, "value": null } }, { "_media-type": "application\/vnd.ibexa.api.AttributeAssignment+json", "is_required": false, "is_discriminator": false, "Attribute": { "_media-type": "application\/vnd.ibexa.api.Attribute+json", "identifier": "measurement_range_identifier", "name": "", "description": null, "type": "Measurement (range)", "type_identifier": "measurement_range", "group": "", "position": 0, "options": { "type": "length", "unit": "centimeter" }, "value": null } } ] } }