Change a product's selling status
PATCH/products/:id/status
Sets the product to active (sold) or archived (not sold) as the acting user, and answers the product. A product that does not exist, belongs to another merchant, or is not sold at that outlet answers 404 NOT_FOUND. With the Price Management master switch off, company-wide legacy product configuration writes return 409 PRICE_ROLLOUT_PAUSED when any company outlet is prepared or was activated. No product, price, history, feed or product-change event is written. Unprepared legacy companies retain the existing compatibility semantics.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
The product
Error envelope
Error envelope
Error envelope
Error envelope
Error envelope