Skip to main content
POST
/
api
/
dashboard
/
shipping-zones
Create Zone
curl --request POST \
  --url https://api.example.com/api/dashboard/shipping-zones \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "country_codes": [
    "<string>"
  ],
  "is_default": false
}
'
{
  "name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "country_codes": [
    "<string>"
  ],
  "is_default": false,
  "rates": []
}

Documentation Index

Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null
X-API-Key
string | null
X-Stella-Merchant-Id
string | null

Body

application/json
name
string
required
Required string length: 1 - 100
country_codes
string[]
is_default
boolean
default:false

Response

Successful Response

name
string
required
Required string length: 1 - 100
id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
country_codes
string[]
is_default
boolean
default:false
rates
ShippingRateResponse · object[]