Get authenticated user
Authentication
Get authenticated user
Validate a shopper token and retrieve the current session profile.
GET
Get authenticated user
Request
Headers
| Header | Type | Description |
|---|---|---|
Authorization | string | Provide the shopper token in the format Bearer <jwt>. |
x-shop-id | string | Shop identifier to associate the user with your store. |
Successful response
You confirm the token is still valid when you receive the shopper profile
and the
tokenExpiresAt timestamp.Error response
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.

