Skip to main content
POST
Spree Admin SDK

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Authorization
string
header
required

JWT token for admin user authentication

Headers

x-spree-api-key
string
required
Authorization
string
required

Query Parameters

expand
string

Comma-separated associations to embed, e.g. members

Body

application/json
name
string
required
Example:

"US North-East"

description
string | null
delivery_profile_id
string

Delivery profile this zone belongs to (fp_...); defaults to the store default profile.

delivery_origin_group_id
string

Origin group this zone belongs to (og_...).

members
object[]

Replaces the zone's full member set atomically.

Response

201 - application/json

delivery zone created