Sign up
POST
/ store/ v1/ customers- Idempotency-Key supported
Create a customer account and sign in. Returns the session token. While the store approves new accounts the account waits instead (202): nobody is signed in, and the store emails the customer once it's approved.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
emailstringrequiredpasswordstringrequired12–128 characters.
first_namestring · or nulllast_namestring · or nulllocalestring · or nullBCP 47, e.g.
ar. Emails to the customer use it.email_marketingbooleanThe customer agreed to marketing emails.
Returns
201 Account created; signed in.
Errors
- 409
email_taken(sign in instead),account_setup_required(use the password reset to claim it),accounts_off(the store has no accounts) orsign_up_invite_only(accounts by invitation only). - 422
validation_failedValidation failed. - 429
rate_limitedToo many attempts.