customer Access Token Create
Requires access scope.
For legacy customer accounts only.
Creates a using the customer's email and password. The access token is required to read or modify the Customer object, such as updating account information or managing addresses.
The token has an expiration time. Use to extend the token before it expires, or create a new token if it's already expired.
This mutation handles customer credentials. Always transmit requests over HTTPS and never log or expose the password.
This mutation handles customer credentials. Always transmit requests over HTTPS and never log or expose the password.
Caution: This mutation handles customer credentials. Always transmit requests over HTTPS and never log or expose the password.
Arguments
- input (CustomerAccessTokenCreateInput!)
- Anchor to inputinput•Customer
Access Token Create Input! required The fields used to create a customer access token.
- customerAccessToken (CustomerAccessToken)
- customerUserErrors ([CustomerUserError!]!)
- userErrors ([UserError!]!): deprecated
- Anchor to customerAccessTokencustomer•Customer
Access Token Access Token The newly created customer access token object.
- Anchor to customerUserErrorscustomer•[Customer
User Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to userErrorsuser•[User
Errors Error!]! non-nullDeprecated The list of errors that occurred from executing the mutation.