Skip to main content
POST
Create Shipping Zone

Body Parameters

A shipping zone has a single flat shipping price plus optional weight- or price-based thresholds. There is no per-zone collection of named rates.
name
string
required
Zone name (e.g., “Domestic”, “Europe”, “Rest of World”). Stored as shippingName. You may send shippingName directly instead of name.
countries
array
Array of ISO 3166-1 alpha-2 country codes for this zone. Stored as zone. You may send zone (an array of country codes) directly instead.
description
string
Optional zone description.
price
number
Flat shipping price for this zone.
type
string
Rate model: Simple (flat price), Weight (weight-based thresholds), or Price (order-total thresholds). Defaults to Simple.
digitalProd
boolean
Whether the zone applies to digital products. Defaults to true.
minWeight
number
Minimum order weight (used when type is Weight).
maxWeight
number
Maximum order weight (used when type is Weight).
minPrice
number
Minimum order subtotal (used when type is Price).
maxPrice
number
Maximum order subtotal (used when type is Price).

Response

Returns the standard response envelope with the created zone under data.shipping_zone.

Error Response