Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Archive a product

Stop a product being added to anything new.

POST/v1/products/{id}/archive

Stop a product being added to anything new.

Endpoint

http
POST /v1/products/{id}/archive

Path parameters

NameTypeDescription
idstringThe product's ID, prod_....

Example request

bash
curl -X POST https://api.sovgate.com/v1/products/prod_103fbc184f1d732bf5d1a9f5/archive \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: b2c72731-4b2a-4c1d-9e3f-6cc3d41ca69b"

Example response

json
{  "id": "prod_103fbc184f1d732bf5d1a9f5",  "object": "product",  "livemode": false,  "name": "Pottery workshop",  "description": "Saturday, 10 am, all materials included",  "kind": "service",  "sku": null,  "unit_label": "seat",  "statement_descriptor": null,  "images": [],  "status": "archived",  "default_price": "price_d2fcc8475d89f661d674185c",  "created": "2026-11-20T09:30:00Z",  "archived_at": "2026-11-27T10:00:00Z"}