Skip to main content

Archive Product

PUT 

/api/products/:id/archive

Archive a product by ID. Sets archived_at timestamp.

Required scope: products:write

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

Authentication: Requires Bearer token.

Returns a warning if the product is already archived.

Requires permission: products.archive

Request

Responses

OK

Response Headers
    Content-Type