Skip to main content
PATCH
Spree SDK

Authorizations

x-spree-api-key
string
header
required

Publishable API key for store access

Authorization
string
header
required

JWT token for authenticated customers

Headers

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

Path Parameters

id
string
required

Body

application/json
first_name
string
Example:

"John"

last_name
string
Example:

"Doe"

address1
string
Example:

"456 Oak Ave"

city
string
Example:

"Los Angeles"

is_default_billing
boolean

Set as default billing address

Example:

true

is_default_shipping
boolean

Set as default shipping address

Example:

true

Response

200 - application/json

address updated

id
string
required
first_name
string | null
required
last_name
string | null
required
full_name
string
required
address1
string | null
required
address2
string | null
required
postal_code
string | null
required
city
string | null
required
phone
string | null
required
company
string | null
required
country_name
string
required
country_iso
string
required
state_text
string | null
required
state_abbr
string | null
required
quick_checkout
boolean
required
is_default_billing
boolean
required
is_default_shipping
boolean
required
state_name
string | null
required