Skip to main content
DELETE
Bulk Archive Content
Use this endpoint to archive multiple content items in a single request. Archived content is not actually deleted from the database, but is hidden from most views and cannot be added to proposals. Note: This operation is idempotent. You can safely call it on already-archived products without errors, and only products that aren’t already archived will be updated.

Request Body

number[]
An array of variation IDs to archive. Either this or product_ids must be provided.
number[]
An array of product IDs to archive. Either this or variation_ids must be provided. This is often more convenient when you have product IDs rather than variation IDs.
Or alternatively:

Response

object
To view archived content items, use the List Content endpoint with the include_archived=true query parameter. To restore archived content items, use the Bulk Restore Content endpoint.