Retrieve an attribute value
get/attribute_value/{id}/
Authorizations
AuthorizationstringRequired
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
Path parameters
idintegerRequired
The unique identifier of the attribute value.
Responses
200
The requested attribute value.
application/json
A predefined value of an attribute as returned by the API.
pkintegerRead-onlyOptional
The unique identifier of the attribute value.
attributeintegerOptional
The identifier of the parent attribute.
valuestringOptional
The value.
orderinteger · nullableOptional
The sort order of the value. Values are listed by order, then value.
labelstring · nullableOptional
The translatable display label of the value, when any.
401
Authentication credentials were not provided or are invalid.
application/json
403
The authenticated user does not have administrator privileges.
application/json
404
The requested attribute value does not exist.
application/json
get/attribute_value/{id}/
GET /api/remote/1/attribute_value/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 501,
"attribute": 42,
"value": "Red",
"order": 1,
"label": "Red"
}Last updated
Was this helpful?

