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
- 200
- 400
- 401
- 403
- 500
Bulk delete completed. Read failures for the keys that were not deleted.
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.
An unexpected error prevented the request from completing.