Required access

unauthenticated_write_customers access scope

Creates a customer access token. The customer access token is required to modify the customer object in any way.

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.


Argument Type Default Description
input required CustomerAccessTokenCreateInput!

Input Fields

email   (String!)


The email associated to the customer.

password   (String!)


The login password to be used by the customer.

Return Fields

customerAccessToken   (CustomerAccessToken)

The newly created customer access token object.

userErrors   ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up