Skip to main content
PATCH
/
api
/
v1
/
:team_slug
/
:app_slug
/
attributes
/
:attribute_template_key
Error
A valid request URL is required to generate request examples
{
  "data": {
    "attributes": [
      {
        "created_at": "<string>",
        "description": "<string>",
        "filterable": true,
        "id": "<string>",
        "key": "<string>",
        "name": "<string>",
        "template_key": "<string>",
        "template_name": "<string>",
        "translatable": true,
        "translations": {
          "description": [
            {
              "id": "<string>",
              "locale": "<string>",
              "omni_channel_translations": [
                {
                  "id": "<string>",
                  "market_id": "<string>",
                  "store_group_id": "<string>",
                  "value": "<string>"
                }
              ],
              "value": "<string>"
            }
          ],
          "name": [
            {
              "id": "<string>",
              "locale": "<string>",
              "omni_channel_translations": [
                {
                  "id": "<string>",
                  "market_id": "<string>",
                  "store_group_id": "<string>",
                  "value": "<string>"
                }
              ],
              "value": "<string>"
            }
          ]
        },
        "updated_at": "<string>",
        "values": {}
      }
    ],
    "created_at": "<string>",
    "fields": [
      {
        "created_at": "<string>",
        "id": "<string>",
        "key": "<string>",
        "name": "<string>",
        "type": "<string>",
        "updated_at": "<string>"
      }
    ],
    "filterable": true,
    "id": "<string>",
    "key": "<string>",
    "name": "<string>",
    "resources": [
      "<string>"
    ],
    "translatable": true,
    "type": "<string>",
    "updated_at": "<string>"
  },
  "details": [
    "<string>"
  ],
  "success": true
}

Path Parameters

app_slug
string
required

App slug

team_slug
string
required

Team slug

attribute_template_key
string
required

Key of the attribute template

Body

application/json

Attribute data

fields
object[]

Fields for the attribute

filterable
boolean
key
string

Key of the attribute

name
string

Name of the attribute

resources
string[]

What type of resources should the attribute be able to applied to

translatable
boolean
type
string

Name of the attribute

Response

Attribute template

data
object
details
string[]

Other information which can be relative to the response. This field is used to give additional information then the main data we want to return. For instance if a product do not match the publishing rules will the product status be set to Incomplete and this field will include why

success
boolean