Anchor to section titled 'undefined'

customerAccessTokenCreateWithMultipass
mutation

Requires unauthenticated_write_customers access scope.

Creates a customer access token using a multipass token instead of email and password. A customer record is created if the customer doesn't exist. If a customer record already exists but the record is disabled, then the customer record is enabled.


Anchor to multipassToken
multipassToken
required

A valid multipass token to be authenticated.


Was this section helpful?

An access token object associated with the customer.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation customerAccessTokenCreateWithMultipass($multipassToken: String!) {
  customerAccessTokenCreateWithMultipass(multipassToken: $multipassToken) {
    customerAccessToken {
      # CustomerAccessToken fields
    }
    customerUserErrors {
      # CustomerUserError fields
    }
  }
}
Hide code
Input
Copy
{
  "multipassToken": "<your-multipassToken>"
}