{
"attribute": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"handle": "<string>",
"is_filterable": true,
"ui_component": "select",
"metadata": {},
"possible_values": [
{
"id": "<string>",
"value": "<string>",
"rank": 123,
"metadata": {},
"created_at": "2023-11-07T05:31:56Z"
}
],
"values": [
{
"id": "<string>",
"value": "<string>"
}
],
"product_categories": [
{
"id": "<string>",
"name": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
}Retrieves a specific attribute by its ID.
{
"attribute": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"handle": "<string>",
"is_filterable": true,
"ui_component": "select",
"metadata": {},
"possible_values": [
{
"id": "<string>",
"value": "<string>",
"rank": 123,
"metadata": {},
"created_at": "2023-11-07T05:31:56Z"
}
],
"values": [
{
"id": "<string>",
"value": "<string>"
}
],
"product_categories": [
{
"id": "<string>",
"name": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the attribute to retrieve.
Comma-separated fields to include in the response.
OK
Attribute object
Show child attributes
The unique identifier of the attribute.
The name of the attribute.
A description of the attribute.
A unique handle for the attribute.
Whether the attribute can be used for filtering products.
The UI component type for this attribute.
select, multivalue, unit, toggle, text_area, color_picker Additional metadata for the attribute.
Array of possible values for the attribute.
Show child attributes
The unique identifier of the possible value.
The value of the possible value.
The rank/order of the possible value.
Additional metadata for the possible value.
The date with timezone at which the resource was created.
The date with timezone at which the resource was created.
The date with timezone at which the resource was last updated.
The date with timezone at which the resource was deleted.