Customer Access Token Create Payload
Return type for mutation.
Anchor to FieldsFields
- customerAccessToken (CustomerAccessToken)
- customerUserErrors ([CustomerUserError!]!)
- userErrors ([UserError!]!): deprecated
- Anchor to customerAccessTokencustomer•Customer
Access Token Access Token Token access required 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
Anchor to Mutations with this payloadMutations with this payload
- customerAccessTokenCreate (CustomerAccessTokenCreatePayload)
- •mutation
For legacy customer accounts only.
Creates a
using the customer's email and password. The access token is required to read or modify theCustomerobject, 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.CautionThis 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.
Caution: This mutation handles customer credentials. Always transmit requests over HTTPS and never log or expose the password.
- Anchor to inputinput•Customer
Access Token Create Input! required The fields used to create a customer access token.
Arguments