Skip to content

Search API reference

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

Archive a shipping rate

Stop a rate being offered.

POST/v1/shipping_rates/{id}/archive

Stop a rate being offered.

Endpoint

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

Path parameters

NameTypeDescription
idstringThe shipping rate's ID, shr_....

Example request

bash
curl -X POST https://api.sovgate.com/v1/shipping_rates/shr_a1fceab688fe81f41e7e40e2/archive \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: 049a0b53-4b2a-4c1d-9e3f-0507d3df0c2f"

Example response

json
{  "id": "shr_a1fceab688fe81f41e7e40e2",  "object": "shipping_rate",  "livemode": false,  "display_name": "Standard shipping",  "amount": 500,  "currency": "usd",  "free_from": 5000,  "delivery_estimate": {    "unit": "business_day",    "minimum": 3,    "maximum": 5  },  "tax_behavior": "exclusive",  "status": "archived",  "created": "2026-11-20T09:30:00Z"}