Skip to content

Search API reference

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

Archive a price

Stop a price being added to anything new.

POST/v1/prices/{id}/archive

Stop a price being added to anything new.

Endpoint

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

Path parameters

NameTypeDescription
idstringThe price's ID, price_....

Example request

bash
curl -X POST https://api.sovgate.com/v1/prices/price_d2fcc8475d89f661d674185c/archive \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: ffc6d412-4b2a-4c1d-9e3f-92b75e9ac8a8"

Example response

json
{  "id": "price_d2fcc8475d89f661d674185c",  "object": "price",  "livemode": false,  "product": "prod_103fbc184f1d732bf5d1a9f5",  "currency": "usd",  "type": "one_time",  "recurring": null,  "pricing": {    "model": "per_unit",    "unit_amount": 4000  },  "tax_behavior": "exclusive",  "nickname": null,  "status": "archived",  "created": "2026-11-20T09:30:00Z",  "archived_at": "2026-11-27T10:00:00Z"}