Docs
Dashboard

CustomerAccessToken

Object

Fields returned for customer access token.

#

Fields


accessToken
String!

The opaque bearer token to send as part of the Authorization request header.

expiresIn
Long!

The number of seconds before the access token expires.

refreshToken
String!

If set, this provides the ability to get a new access_token after it expires using a refresh endpoint.

#

Mutations


Creates a customer access token. The customer access token is required to modify the customer object in any way.

Refreshes a customer access token using the refresh token. The refresh token is used to obtain a new access token without requiring the customer to log in again.

Activates a customer account using the provided token and sets the customer’s password.

Resets a customer’s password using a valid reset token. This mutation requires the customer to provide their email, the new password, and the reset token they received via email.