Skip to main content
PATCH
/
api
/
v1
/
:team_slug
/
:app_slug
/
collections
/
bulk
Error
A valid request URL is required to generate request examples
{
  "data": {
    "failed": [
      {
        "id": "<string>",
        "reason": "<string>"
      }
    ],
    "successful": [
      {
        "slug": "<string>",
        "status": "active",
        "children": "<array>",
        "created_at": "<string>",
        "id": "<string>",
        "parent_id": "<string>",
        "redirects": [
          {
            "id": "<string>",
            "item_id": "<string>",
            "locale": "<string>",
            "new_slug": "<string>",
            "old_slug": "<string>",
            "type": "product"
          }
        ],
        "title": "<string>",
        "translations": {
          "slug": [
            {
              "id": "<string>",
              "locale": "<string>",
              "omni_channel_translations": [
                {
                  "id": "<string>",
                  "market_id": "<string>",
                  "store_group_id": "<string>",
                  "value": "<string>"
                }
              ],
              "value": "<string>"
            }
          ],
          "title": [
            {
              "id": "<string>",
              "locale": "<string>",
              "omni_channel_translations": [
                {
                  "id": "<string>",
                  "market_id": "<string>",
                  "store_group_id": "<string>",
                  "value": "<string>"
                }
              ],
              "value": "<string>"
            }
          ]
        },
        "updated_at": "<string>",
        "uri": "<string>"
      }
    ]
  },
  "details": [
    "<string>"
  ],
  "success": true
}

Path Parameters

team_slug
string
required

Team slug

app_slug
string
required

App slug

Body

application/json

Collections data to update

collections
object[]
required
Maximum array length: 50

Response

Collections updated 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