Skip to main content
PUT
/
api
/
v1
/
:team_slug
/
:app_slug
/
images
/
{image_id}
/
relationships
/
bulk
Error
A valid request URL is required to generate request examples
{
  "data": {
    "failed": [
      {
        "item_id": "<string>",
        "item_type": "<string>",
        "reason": "<string>"
      }
    ],
    "successful": [
      {
        "item_id": "<string>",
        "item_type": "product",
        "priority": 2
      }
    ]
  },
  "details": [
    "<string>"
  ],
  "success": true
}

Path Parameters

team_slug
string
required

Team slug

app_slug
string
required

App slug

image_id
string
required

Image ID

Body

application/json

Items to link to the image

items
object[]
required
Maximum array length: 100

Response

Relationships added 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