Delete many products in one request. Products are deleted by the same rules as the Delete button in IO Web; the ones that were not deleted are listed in failures with a reason code. The request is checked and saved, then the products are deleted in the background: follow the result with GET /products/bulk-deletions/{id}. A request takes up to 500 product IDs; only one bulk deletion per company runs at a time. Send an Idempotency-Key to retry safely: the same key with the same request answers 202 with the bulk deletion already created, the same key with a different request answers 409. IDs are integers; a string of digits only, such as "12", is accepted too.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Request body is not a JSON object
401Unauthorized: rejected by the API gateway
403Forbidden: the secret or the vendor API key is not valid
409Another bulk deletion is in progress, or the Idempotency-Key conflicts.
422Validation failed: the Idempotency-Key, or product_ids is missing, is not a list, is empty, has more than 500 items, or has an item that is not a positive integer or repeats an earlier one
503The bulk deletion could not be started. With an Idempotency-Key, send the same request again
