Skip to main content

Create or update products of a cluster option in bulk

POST 

/v2/clusteroptions/:lookupKey/:key/products/bulk

Processes a list of products attached to the cluster option identified by the URL in a single request, creating new products and updating existing ones.

The same lookup method declared on the URL is used for the nested products: with the id lookup key every product carries an id and is updated; with the sourceId lookup key every product carries a source and a source identifier, and products that do not exist yet are created. Per-item outcomes are returned so callers can detect partial successes and retry only the items that failed.

Request​

Responses​

The bulk request completed; per-item outcomes are reported in the response payload.