Skip to main content
POST
/
api
/
v1
/
:team_slug
/
:app_slug
/
attributes
/
bulk
Error
A valid request URL is required to generate request examples
{
  "data": {
    "failed_creations": [
      {
        "input": {
          "key": "<string>",
          "name": "<string>",
          "type": "<string>",
          "fields": [
            {
              "key": "<string>",
              "name": "<string>",
              "type": "boolean"
            }
          ],
          "filterable": true,
          "resources": [
            "<string>"
          ],
          "translatable": true
        },
        "reason": "<string>"
      }
    ],
    "successful_creations": [
      {
        "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

team_slug
string
required

Team slug

app_slug
string
required

App slug

Body

application/json

Attribute templates to create

items
object[]
required
Maximum array length: 50

Response

Templates created successfully

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