Attach products and clusters to a category
POST/v2/categories/:lookupKey/:key/add-products-clusters
Adds one or more products and clusters to a category in a single operation.
Each item is referenced either by its internal identifier or by an external source / source identifier pair, allowing upstream systems to attach catalogue records without needing to resolve their internal identifiers. Items already attached to the category are reported as conflicts; the rest of the request continues to process.
Up to one hundred items can be processed in a single call.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 500
The bulk request completed; per-item outcomes are reported in the response payload.
The request payload, path, or query parameters failed validation.
Authentication credentials are missing or invalid.
The authenticated caller is not permitted to perform the operation.
The record identified by the request could not be located.
The request conflicts with the current state of the record.
The request was understood but cannot be applied because a business rule was violated.
An unexpected error prevented the request from completing.