Bulk add products to collections
Deprecated: Use the Collections V2 API. Adds multiple products to multiple collections in a single request. Accepts up to 50 collection-product relationships. Each collection can only appear once per request to preserve product order. Returns lists of successful and failed additions.
POST
/api/v1/{team_slug}/{app_slug}/collections/products/bulkdeprecatedAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
team_slugstringrequiredTeam slug
app_slugstringrequiredApp slug
Request body
requiredapplication/jsonProduct and collection relationships to create
itemsinternal_pkg_webserver_v1.BulkCollectionProductRelationshipItem[]requiredmax items 50
Show propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkCollectionProductRelationshipItemcollection_idstringrequiredproduct_idsstring[] | nullrequiredmin items 1
Responses
200
Products added to collections successfully
datainternal_pkg_webserver_v1.BulkAddProductsToCollectionsResponserequiredShow propertiesHide properties
failedinternal_pkg_webserver_v1.BulkCollectionProductFailedOp[] | nullShow propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkCollectionProductFailedOpcollection_idstringproduct_idstringreasonstringsuccessfulinternal_pkg_webserver_v1.BulkCollectionProductRelationshipItem[] | nullShow propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkCollectionProductRelationshipItemcollection_idstringrequiredproduct_idsstring[] | nullrequiredmin items 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[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired