Partially update an attribute value
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the attribute value.
The payload accepted when partially updating an attribute value. All fields are optional; only the fields you send are changed.
The identifier of the parent attribute.
The value.
The sort order of the value.
The translatable display label of the value.
Localized values of the translatable fields, keyed by language code. Write-only.
The updated attribute value.
A predefined value of an attribute as returned by the API.
The unique identifier of the attribute value.
The identifier of the parent attribute.
The value.
The sort order of the value. Values are listed by order, then value.
The translatable display label of the value, when any.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested attribute value does not exist.
PATCH /api/remote/1/attribute_value/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"attribute": 1,
"value": "text",
"order": null,
"label": null,
"translations": null
}{
"pk": 501,
"attribute": 42,
"value": "Red",
"order": 1,
"label": "Red"
}Last updated
Was this helpful?

