Archive a product
Permission
products:writeRate limit writesIdempotent with Idempotency-KeyNot a deletion: the product leaves the storefront, orders keep their lines; PATCH status: active brings it back.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
idintegerrequiredHeaders
Idempotency-Keystring≤ 255 charsAny unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.
RequestcURL
curl --request DELETE \ --url 'https://api.estage.com/v1/products/product-id' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Idempotency-Key: your-unique-key'
OK
{
"data": {
"id": 5012,
"status": "archived"
}
}Example. Errors are
{ error: { code, message, details } }.