Attribute Values
Retrieve a list of attribute values with optional filtering.
Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · min: 1OptionalDefault:
Specifies the page number of the current dataset
1limitinteger · min: 1OptionalDefault:
Indicates the number of rows on the current page.
10labelstringOptionalExample:
The display label of the attribute value
ColorvaluestringOptionalExample:
Filter by value (contains)
Rederp_codestringOptionalExample:
Filter by ERP code (contains)
ERPCODE123value__exactstringOptionalExample:
Filter by value (exact match)
Redpk__ininteger[]Optional
Filter by multiple primary key values (comma-separated list of integers)
attributeinteger · int64OptionalExample:
Filter by related attribute ID
1Responses
200
A list of attribute values.
application/json
401
Unauthorized Access
application/json
500
Server Error
get
/api/v1/attribute_value/GET /api/v1/attribute_value/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": "[Circular Reference]",
"label": "Color Red",
"value": "Red",
"order": 1,
"erp_code": "ERPCODE123",
"created_date": "2021-01-01T00:00:00Z",
"modified_date": "2021-01-01T00:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"entity_type": {
"id": 1,
"app_label": "text",
"model": "text"
},
"erp_code": "ERPCODE123",
"pre_attribute": true,
"description": "This is a color attribute",
"name": "Color",
"key": "color",
"data_type": "text"
},
"label": "Color Red",
"value": "Red",
"order": 1,
"erp_code": "ERPCODE123",
"created_date": "2021-01-01T00:00:00Z",
"modified_date": "2021-01-01T00:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"entity_type": {
"id": 1,
"app_label": "text",
"model": "text"
},
"erp_code": "ERPCODE123",
"pre_attribute": true,
"description": "This is a color attribute",
"name": "Color",
"key": "color",
"data_type": "text"
},
"label": "Color Red",
"value": "Red",
"order": 1,
"erp_code": "ERPCODE123",
"created_date": "2021-01-01T00:00:00Z",
"modified_date": "2021-01-01T00:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]Was this helpful?

