CustomerAccessToken
A customer access token used to identify a logged-in customer
Type Definition
type CustomerAccessToken {
accessToken: String!
expiresAt: String!
}Fields
| Field | Type | Description |
|---|---|---|
| accessToken | String! | The access token string |
| expiresAt | String! | The date and time when the token expires (ISO 8601 format) |
Relationships
CustomerAccessToken is returned by authentication-related mutations to provide credentials for authenticated customer requests. The token is used to identify and authorize a logged-in customer for subsequent API calls.
Example
{
customerAccessToken {
accessToken
expiresAt
}
}Implements
This type does not implement any interfaces.