Appearance
GET
/product-variant-property/property-keys/{propertyKeyId}Required scope:
viskan:productvariantproperty:readReturns a single product variant property key with its presentation type, translations, and values. Same shape as the list endpoint.
Parameters
Path parameters
propertyKeyId integerThe unique identifier of the property key.
Response
The response contains the property key.
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": [
{
"languageCode": "sv",
"name": "Röd",
"description": "..."
}
]
}
]
}
| Error code | Description |
|---|---|
property-key-not-found | The property key was not found. |