Skip to main content
POST
Spree SDK

Authorizations

x-spree-api-key
string
header
required

Publishable API key for store access

Headers

x-spree-api-key
string
required

Body

application/json
email
string<email>
required
Example:

"newuser@example.com"

password
string
required
Minimum string length: 6
Example:

"password123"

password_confirmation
string
Example:

"password123"

first_name
string
Example:

"John"

last_name
string
Example:

"Doe"

phone
string
Example:

"+1234567890"

accepts_email_marketing
boolean
Example:

true

metadata
object
Example:

Response

registration successful

token
string
required

JWT access token

refresh_token
string
required

Refresh token for obtaining new access tokens

user
object
required