Appearance
GET
/product-variant-property/property-keysRequired scope:
viskan:productvariantproperty:readReturns all product variant property keys with their presentation types, translations, and values. For SINGLE_SELECT and MULTI_SELECT keys, the predefined values are included.
Response
The response contains the property keys.
JSON
[
{
"propertyKeyId": 1,
"name": "Color",
"presentation": "SINGLE_SELECT",
"keyGroup": "Appearance",
"usedForFilter": true,
"usedForPresentation": true,
"allowUpdateInUI": true,
"sendToShippingProvider": true,
"sort": 0,
"translations": [
{
"languageCode": "sv",
"name": "Färg",
"description": "..."
}
],
"values": [
{
"propertyValueId": 1,
"value": "Red",
"mediaURL": "...",
"filterTag": "...",
"sort": 0,
"translations": [
{...}
]
}
]
}
]