Bulk Add Image Relationships
Creates relationships between an image and up to 100 items (products or variants) with optional priority ordering. Validates that each item exists and is not deleted before creating the relationship. Returns lists of successful and failed relationship creations with error details. Deprecated: use PUT /api/v2/{team_slug}/{app_slug}/dam/images/items instead.
/api/v1/{team_slug}/{app_slug}/images/{image_id}/relationships/bulkdeprecatedAuthorizationAPI key · headerrequiredBearer token (format: "Bearer {token}")
team_slugstringrequiredTeam slug
app_slugstringrequiredApp slug
image_idstringrequiredImage ID
application/jsonItems to link to the image
itemsinternal_pkg_webserver_v1.BulkAddImageRelationshipItem[]requiredShow propertiesHide properties
internal_pkg_webserver_v1.BulkAddImageRelationshipItemitem_idstringrequireditem_typestringrequiredproductvariantpriorityintegerRelationships added successfully
datainternal_pkg_webserver_v1.BulkAddImageRelationshipsResponserequiredShow propertiesHide properties
failedinternal_pkg_webserver_v1.BulkAddImageRelationshipFailedOp[] | nullShow propertiesHide properties
internal_pkg_webserver_v1.BulkAddImageRelationshipFailedOpitem_idstringitem_typestringreasonstringsuccessfulinternal_pkg_webserver_v1.BulkAddImageRelationshipItem[] | nullShow propertiesHide properties
internal_pkg_webserver_v1.BulkAddImageRelationshipItemitem_idstringrequireditem_typestringrequiredproductvariantpriorityintegerdetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequiredInvalid request
detailsstring[]messagestringsuccessbooleanrequiredUnauthorized access
detailsstring[]messagestringsuccessbooleanrequiredImage not found
detailsstring[]messagestringsuccessbooleanrequiredInternal server error
detailsstring[]messagestringsuccessbooleanrequired