cURL
curl --request GET \ --url https://api.example.com/admin/attributes/{id} \ --header 'Authorization: Bearer <token>'
{ "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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the attribute to retrieve.
Comma-separated fields to include in the response.
OK
Attribute object
Show child attributes