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.
PUT
/api/v1/{team_slug}/{app_slug}/images/{image_id}/relationships/bulkdeprecatedAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
team_slugstringrequiredTeam slug
app_slugstringrequiredApp slug
image_idstringrequiredImage ID
Request body
requiredapplication/jsonItems to link to the image
itemsinternal_pkg_webserver_v1.BulkAddImageRelationshipItem[]requiredmax items 100
Show propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkAddImageRelationshipItemitem_idstringrequireditem_typestringrequiredAllowed:
productvariantpriorityintegermin 1
Responses
200
Relationships added successfully
datainternal_pkg_webserver_v1.BulkAddImageRelationshipsResponserequiredShow propertiesHide properties
failedinternal_pkg_webserver_v1.BulkAddImageRelationshipFailedOp[] | nullShow propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkAddImageRelationshipFailedOpitem_idstringitem_typestringreasonstringsuccessfulinternal_pkg_webserver_v1.BulkAddImageRelationshipItem[] | nullShow propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkAddImageRelationshipItemitem_idstringrequireditem_typestringrequiredAllowed:
productvariantpriorityintegermin 1
detailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequired400
Invalid request
detailsstring[]messagestringsuccessbooleanrequired401
Unauthorized access
detailsstring[]messagestringsuccessbooleanrequired404
Image not found
detailsstring[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired