Bulk Add Products to Categories
Adds multiple products to multiple categories simultaneously in a single bulk operation. Supports up to 50 category-product relationship items per request, automatically handling sort order and publishing update events for affected products and categories.
POST
/api/v1/{team_slug}/{app_slug}/categories/products/bulkAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
team_slugstringrequiredTeam slug
app_slugstringrequiredApp slug
Request body
requiredapplication/jsonProduct and category relationships to create
itemsinternal_pkg_webserver_v1.BulkCategoryProductRelationshipItem[]requiredmax items 50
Show propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkCategoryProductRelationshipItemcategory_idstringrequiredproductsinternal_pkg_webserver_v1.BulkCategoryProductRef[] | nullrequiredmin items 1
Show propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkCategoryProductRefis_main_categorybooleanorderintegerproduct_idstringrequiredResponses
200
Products added to categories successfully
datainternal_pkg_webserver_v1.BulkAddProductsToCategoriesResponserequiredShow propertiesHide properties
failedinternal_pkg_webserver_v1.BulkCategoryProductFailedOp[] | nullShow propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkCategoryProductFailedOpcategory_idstringproduct_idstringreasonstringsuccessfulinternal_pkg_webserver_v1.BulkCategoryProductRelationshipItem[] | nullShow propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkCategoryProductRelationshipItemcategory_idstringrequiredproductsinternal_pkg_webserver_v1.BulkCategoryProductRef[] | nullrequiredmin items 1
Show propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkCategoryProductRefis_main_categorybooleanorderintegerproduct_idstringrequireddetailsstring[]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