Archive a product
Archive (soft delete) a product by its ID. Archived products are hidden from the store and cannot be purchased. Associated offers are also archived. Existing subscriptions continue. This action is reversible.
Authorization
Public key Secret key In: header
In: header
Path Parameters
PATCH /v0/products/:productId/archive Parameter
uuidRequest Body
application/json
PATCH /v0/products/:productId/archive Request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v0/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/archive" \ -H "Content-Type: application/json" \ -d '{ "id": "string" }'{ "status": "success", "data": { "success": true }}Get product details GET
Retrieve detailed information about a specific product by its ID. Returns the full product object including variants, media, and associated offers.
Update a product PATCH
Update an existing product's details. Can modify name, description, media, and other properties. Note: The product slug cannot be changed after creation to prevent broken URLs.