Update a retailer product attribute value
This endpoint allows you to update an attribute value for a retailer product.
PATCH
/api/rest/v1/retailer/products/{code}/attribute/{attribute_code}
curl \
--request PATCH 'https://content.winkelstraat.nl/api/rest/v1/retailer/products/{code}/attribute/{attribute_code}' \
--data '{"values":{"quantity":[{"data":15}]},"identifier":"top_child_size_m"}'
Request examples
{
"values": {
"quantity": [
{
"data": 15
}
]
},
"identifier": "top_child_size_m"
}
Response examples (422)
Code
422
Property "labels" expects an array as data, "NULL" given. Check the API reference documentation.
{
"documentation": {
"href": "http://api.akeneo.com/api-reference.html"
}
}
Response examples (422)
{
"code": 42,
"message": "string"
}