API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

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.

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.