POST
/
admin
/
attributes
{
  "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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

Created

The response is of type object.