customerAccessTokenCreateWithMultipass mutation

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

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

multipassToken ( String! ) required

A valid multipass token to be authenticated.

Return fields

customerAccessToken (CustomerAccessToken)

An access token object associated with the customer.

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

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

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

multipassToken ( String! ) required

A valid multipass token to be authenticated.

Return fields

customerAccessToken (CustomerAccessToken)

An access token object associated with the customer.

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

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

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

multipassToken ( String! ) required

A valid multipass token to be authenticated.

Return fields

customerAccessToken (CustomerAccessToken)

An access token object associated with the customer.

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.