Update a retailer product attribute value
This endpoint allows you to update an attribute value for a retailer product.
Path parameters
-
Code of the resource
-
Code of the attribute
PATCH /api/rest/v1/retailer/products/{code}/attribute/{attribute_code}
curl \
-X PATCH https://content.winkelstraat.nl/api/rest/v1/retailer/products/{code}/attribute/{attribute_code} \
-d '{"identifier":"top_child_size_m","values":{"quantity":[{"data":15}]}}'
Request example
{
"identifier": "top_child_size_m",
"values": {
"quantity": [
{
"data": 15
}
]
}
}
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"
}