Skip to main content

Delete products in bulk

DELETE 

/v2/products/bulk/:lookupKey

Removes every product named in the body, each read with the :lookupKey from the URL.

Each key is deleted exactly as the single delete would delete it — cross- and up-sell relationships are detached automatically, and every deleted product emits its own event. Each therefore costs its own transaction, so a very large batch is slow rather than refused.

A key that cannot be deleted does not fail the request: it lands in failedIds with an entry in failures saying why, and the rest of the batch is deleted regardless. Repeated keys are collapsed, so a key sent twice gets one verdict.

Request

Responses

Bulk delete completed. Read failures for the keys that were not deleted.