Shipping Zones
Get All Shipping Zones
GET https://api.bigcommerce.com/stores/{store_hash}/v2/shipping/zonesRequest
Returns a list of all Shipping Zones.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
example
Response
Body
array | application/json
idinteger
Zone IDExample: 1namestring
Zone name. Required for PUT requests.Example: United Statestypestring
Allowed: zip | country | state | global
locationsarray[object]
Array of zone locations.free_shippingobject
handling_fees
Any of:Percentage surcharge fixed_surchargestring
Flat-rate handling fee applied to shipping cost.Example: 0display_separatelyboolean
Indicates whether store displays handling fee separately at checkout.Example: true
enabledboolean
Whether this shipping zone is enabled.Example: true
Example 1: Zones are Country Zones
Example 2: Zone is Selection of States in a Country
Create a Shipping Zone
POST https://api.bigcommerce.com/stores/{store_hash}/v2/shipping/zonesRequest
Creates a Shipping Zone.
Authentication
- X-Auth-Token in header
Authentication details
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
Body
object | application/json
namestring
requiredZone name. Required for PUT requests.Example: United Statestypestring
requiredAllowed: zip | country | state | global
locationsarray[object] Array of zone locations. BigCommerce has a platform limit of 40000zip
type locations.free_shippingobject handling_fees
Any of:Fixed surcharge Percentage surcharge fixed_surchargestring
Flat-rate handling fee applied to shipping cost.Example: 0display_separatelyboolean
Indicates whether store displays handling fee separately at checkout.Example: true
enabledboolean
Whether this shipping zone is enabled.Example: true
Type: ZIP
Type: Country
Type: State
Type: Global
Response
Body
object | application/json
idinteger
Zone ID.Example: 1namestring
Zone name.Example: United Statestypestring
Allowed: zip | country | state | global
locationsarray[object] Array of zone locations.free_shippingobject handling_fees
Any of:Fixed surcharge Percentage surcharge fixed_surchargestring
Flat-rate handling fee applied to shipping cost.Example: 0display_separatelyboolean
Indicates whether store displays handling fee separately at checkout.Example: true
enabledboolean
Whether this shipping zone is enabled.Example: true
Get a Shipping Zone
GET https://api.bigcommerce.com/stores/{store_hash}/v2/shipping/zones/{id}Request
Returns a single Shipping Zone.
Authentication
- X-Auth-Token in header
Authentication details
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- id in path - integerrequiredID of the shipping zone.
example
Response
Body
object | application/json
idinteger
Zone IDExample: 1namestring
Zone name.Example: United Statestypestring
Allowed: zip | country | state | global
locationsarray[object] Array of zone locations.free_shippingobject handling_fees
Any of:Fixed surcharge Percentage surcharge fixed_surchargestring
Flat-rate handling fee applied to shipping cost.Example: 0display_separatelyboolean
Indicates whether store displays handling fee separately at checkout.Example: true
enabledboolean
Whether this shipping zone is enabled.Example: true
example
Update a Shipping Zone
PUT https://api.bigcommerce.com/stores/{store_hash}/v2/shipping/zones/{id}Request
Updates a Shipping Zone.
Required Fields
- name
Read Only Fields
- id
Authentication
- X-Auth-Token in header
Authentication details
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- id in path - integerrequiredID of the shipping zone.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
Body
object | application/json
idinteger
read-onlyZone ID. Read-only.Example: 1namestring
requiredZone name. Required for PUT requests.Example: United Statestypestring
Allowed: zip | country | state | global
locationsarray[object] Array of zone locations. BigCommerce has a platform limit of 40000zip
type locations.free_shippingobject handling_fees
Any of:Fixed surcharge Percentage surcharge fixed_surchargestring
Flat-rate handling fee applied to shipping cost.Example: 0display_separatelyboolean
Indicates whether store displays handling fee separately at checkout.Example: true
enabledboolean
Whether this shipping zone is enabled.Example: true
example
Response
Body
object | application/json
idinteger
read-onlyZone ID. Read-only.Example: 1namestring
requiredZone name. Required for PUT requests.Example: United Statestypestring
Allowed: zip | country | state | global
locationsarray[object] Array of zone locations.free_shippingobject handling_fees
Any of:Fixed surcharge Percentage surcharge fixed_surchargestring
Flat-rate handling fee applied to shipping cost.Example: 0display_separatelyboolean
Indicates whether store displays handling fee separately at checkout.Example: true
enabledboolean
Whether this shipping zone is enabled.Example: true
example
Delete a Shipping Zone
DELETE https://api.bigcommerce.com/stores/{store_hash}/v2/shipping/zones/{id}Request
Deletes a Shipping Zone.
Authentication
- X-Auth-Token in header
Authentication details
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- id in path - integerrequiredID of the shipping zone.
example
Response
Did you find what you were looking for?