POST

Bulk Add Items To Category


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds multiple items to a single category.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Category item write
Category write
Manage Stores - all permissions
Manage Products
Manage v3 catalog
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/categories/v1/bulk/categories/{categoryId}/add-items

Path Params
categoryIdstringRequired

Category ID.

Body Params
itemsArray <ItemReference>RequiredminItems 1maxItems 100

List of items to add.


treeReferenceTreeReferenceRequired

Category tree reference details.

Response Object
resultsArray <BulkItemsToCategoryResult>minItems 1maxItems 100

List of items added to a category by bulk action.


bulkActionMetadataBulkActionMetadata

Bulk action metadata.

Bulk add items to category

Adds 2 items to 1 category. Response includes 2 successful actions.

Request
cURL
Response
JSON
Errors
403Permission Denied

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?