Authenticate shopper
Authentication
Authenticate shopper
Trigger the signup flow by sending a one-time code to the shopper’s email.
POST
Authenticate shopper
Request
Headers
| Header | Type | Description |
|---|---|---|
Content-Type | string | Always set to application/json. |
x-shop-id | string | Shop identifier to associate the user with your store. |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email address that receives the verification code. |
name | string | No | Shopper’s full name. If not provided, defaults to email prefix. |
phone | string | No | Shopper’s phone number in international format. |
Successful response
You receive
success: true, confirming the verification code is on its way
to the shopper’s inbox.Error response
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Body
application/json

