Create subzone

Creates a subzone for the v2 shipping zone with the given zone id, from the given postal code patterns and shipping methods. Returns the created subzone.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The site's unique name (its ID), returned when the site is created.

string
required

The shipping zone's ID.

Body Params

A subzone of a v2 shipping zone: the postal code patterns it scopes, and the shipping methods offered inside
them. Patterns may not overlap across the subzones of a zone.

postal_codes_patterns
array of strings, unique
required
length ≤ 50000

Postal codes, and partial postal code patterns ending with '*', scoped to this subzone. Empty means the
subzone applies to every postal code its zone covers.

postal_codes_patterns*
shipping_methods
array of objects
required

Shipping methods offered by this subzone. A subzone with no method offers no way to ship, which is how a
merchant excludes the postal codes it scopes.

shipping_methods*
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json