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

Body

application/json
first_name
string
Example:

"John"

last_name
string
Example:

"Doe"

email
string<email>
Example:

"customer@example.com"

password
string
Example:

"newpassword123"

password_confirmation
string
Example:

"newpassword123"

accepts_email_marketing
boolean
Example:

true

phone
string
Example:

"+1 555 123 4567"

metadata
object
Example:

Response

profile updated

id
string
required
email
string
required
first_name
string | null
required
last_name
string | null
required
phone
string | null
required
accepts_email_marketing
boolean
required
full_name
string
required
available_store_credit_total
string
required
display_available_store_credit_total
string
required
addresses
object[]
required
default_billing_address
object | null
required
default_shipping_address
object | null
required
newsletter_subscriber
object | null
required
customer_groups
object[]
required