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

Path Parameters

delivery_profile_id
string
required

Body

application/json
name
string | null
Example:

"EU warehouse"

position
integer
stock_location_ids
string[]

Prefixed stock location IDs (sloc_...); replaces the full set. Empty means every store location.

Response

201 - application/json

origin group created