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

customer_id
string
required

Body

application/json
first_name
string
last_name
string
address1
string
address2
string
city
string
postal_code
string
country_iso
string

ISO-2 country code (e.g. US)

state_abbr
string

State/province abbreviation (e.g. NY)

phone
string
company
string
label
string
is_default_billing
boolean
is_default_shipping
boolean

Response

201 - application/json

address created