Create an attribute value
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The payload accepted when creating or fully updating an attribute value.
The identifier of the parent attribute. Together with value, must be unique.
The value. Together with attribute, must be unique.
The sort order of the value. When omitted, the server tries to derive it from the numeric interpretation of value.
The translatable display label of the value.
Localized values of the translatable fields, keyed by language code. Write-only.
The attribute value was created.
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.
POST /api/remote/1/attribute_value/ 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?

