AttributeValues
Retrieve an attribute value by ID.
Unique identifier of the resource
1
GET /api/v1/attribute_value/{id}/ 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": {
"id": 1,
"default_value": "[Circular Reference]",
"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"
}
},
"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"
}
}
Update an attribute value by ID.
Unique identifier of the resource
1
1
The display label of the attribute value
Color Red
The actual value of the attribute
Red
Order of the attribute value
1
ERP code for integration purposes
ERPCODE123
Date and time when the attribute value was created
2021-01-01T00:00:00Z
Date and time when the attribute value was last modified
2021-01-01T00:00:00Z
PUT /api/v1/attribute_value/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1150
{
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": "[Circular Reference]",
"entity_type": {
"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"
},
"entity_type": {
"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"
},
"entity_type": {
"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"
}
{
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": "[Circular Reference]",
"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"
}
},
"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"
}
}
Delete an attribute value by ID.
Unique identifier of the resource
1
DELETE /api/v1/attribute_value/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Partial update an attribute value by ID.
Unique identifier of the resource
1
1
The display label of the attribute value
Color Red
The actual value of the attribute
Red
Order of the attribute value
1
ERP code for integration purposes
ERPCODE123
Date and time when the attribute value was created
2021-01-01T00:00:00Z
Date and time when the attribute value was last modified
2021-01-01T00:00:00Z
PATCH /api/v1/attribute_value/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1150
{
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": "[Circular Reference]",
"entity_type": {
"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"
},
"entity_type": {
"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"
},
"entity_type": {
"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"
}
{
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": "[Circular Reference]",
"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"
}
},
"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"
}
}
Retrieve a list of attribute values with optional filtering.
Specifies the page number of the current dataset
1
Indicates the number of rows on the current page.
10
The display label of the attribute value
Color
Filter by value (contains)
Red
Filter by ERP code (contains)
ERPCODE123
Filter by value (exact match)
Red
Filter by multiple primary key values (comma-separated list of integers)
Filter by related attribute ID
1
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"
}
}
]
Create an attribute value.
1
The display label of the attribute value
Color Red
The actual value of the attribute
Red
Order of the attribute value
1
ERP code for integration purposes
ERPCODE123
Date and time when the attribute value was created
2021-01-01T00:00:00Z
Date and time when the attribute value was last modified
2021-01-01T00:00:00Z
POST /api/v1/attribute_value/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1150
{
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": "[Circular Reference]",
"entity_type": {
"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"
},
"entity_type": {
"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"
},
"entity_type": {
"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"
}
{
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": "[Circular Reference]",
"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"
}
},
"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?