Skip to main content

Bulk Archive Products

PUT 

/api/products/archive

Bulk archive multiple products.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Body fields:

  • ids (array): specific product IDs to archive
  • apply_to_all (boolean): if true, applies to all products matching the current filters instead of ids
  • filters (object): filter criteria used when apply_to_all is true

Requires permission: products.archive

Request

Responses

OK

Response Headers
    Content-Type