Skip to main content
Anchor to CustomerAccessTokenCreateWithMultipassPayload

CustomerAccessTokenCreateWithMultipassPayload

payload

Return type for customerAccessTokenCreateWithMultipass mutation.

•CustomerAccessToken

An access token object associated with the customer.

•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Creates a CustomerAccessToken using a multipass token instead of email and password. This enables single sign-on for customers who authenticate through an external system.

If the customer doesn't exist in Shopify, then a new customer record is created automatically. If the customer exists but the record is disabled, then the customer record is re-enabled.


Caution

Multipass tokens are only valid for 15 minutes and can only be used once. Generate tokens on-the-fly when needed rather than in advance.


Arguments

•String!
required

A valid multipass token to be authenticated.



Was this section helpful?