/v1/account
The signed-in customer's profile at this merchant (404 before first sign-in here)
operationId getAccountAuth
Storefront keyorStorefront key+Customer tokenResponse 200
- customer_idstringrequiredpattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- namestring | nullrequired
- phonestring | nullrequiredpattern ^\+[1-9][0-9]{6,14}$
- emailstring | nullrequiredmax length 254pattern ^[^\s@]+@[^\s@]+\.[^\s@]+$
- consentobject | nullrequired
- marketingbooleanrequired
- is_guestbooleanrequired
Errors
- 400Bad requestError
- 401UnauthenticatedError
- 403Not allowedError
- 404Not foundError
- 422Validation failedError
Every error body carries a code, a message and, where it applies, a reason_code. All error and reason codes.