Skip to content

Search API reference

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

The shipping rate object

What an order pays for shipping, and the delivery estimate customers see.

A shipping rate is what an order pays to ship. It can't change once created, so every order keeps what it was charged: to charge something else, create a new one and archive the old.

Attributes

NameTypeDescription
idstringUnique identifier, starting shr_.
objectstringAlways shipping_rate.
livemodebooleantrue in live mode.
display_namestringWhat customers see at checkout.
amountintegerFor the whole order, in cents. 0 is free shipping.
currencystringusd.
free_frominteger or nullFree when the order's items come to this or more, before discounts and tax.
delivery_estimateobject or nullunit (hour, business_day, day, week or month), minimum and maximum.
tax_behaviorenumexclusive or inclusive.
statusenumactive or archived.
createdtimestampWhen it was created.

Example

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": "active",  "created": "2026-11-20T09:30:00Z"}

Endpoints

EndpointWhat it does
POST /v1/shipping_ratesCreate a shipping rate.
GET /v1/shipping_rates/{id}Get a shipping rate by its ID.
POST /v1/shipping_rates/{id}/archiveStop a rate being offered.
GET /v1/shipping_ratesList your shipping rates, newest first.