For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve an attribute value

Returns a single 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.

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?