Verify email
Authentication
Verify email
Confirm the one-time code and issue a session token for the shopper.
POST
Verify email
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 requested the verification code. |
otp | string | Yes | Six-digit one-time code the shopper received by email. |
Successful response
You receive shopper identifiers and a JWT token, confirming that the email
verification succeeded.
Error responses
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Body
application/json

