Skip to main content
PUT
Replace a shipping zone

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

name
string
required
Required string length: 1 - 120
currency
string
required

ISO 4217 code the price is charged in.

Required string length: 3
price
number
required
Required range: 0 <= x <= 99999999
countries
string[]
required

ISO 3166-1 alpha-2 codes. A country can belong to one zone per shop.

Maximum array length: 300
Required string length: 2
is_rest_of_world
boolean
free_shipping_threshold
number | null

Order value (after discounts, in the zone currency) from which shipping is free. Null disables it.

Required range: 0 <= x <= 99999999

Response

200

Successful response