customerAccessTokenCreate

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

Required access

unauthenticated_write_customers access scope

Arguments

Input Fields

email (String!) Required

The email associated to the customer.

password (String!) Required

The login password to be used by the customer.

Return Fields

customerAccessToken (CustomerAccessToken)

The newly created customer access token object.

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

Deprecated return fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

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

Required access

unauthenticated_write_customers access scope

Arguments

Input Fields

email (String!) Required

The email associated to the customer.

password (String!) Required

The login password to be used by the customer.

Return Fields

customerAccessToken (CustomerAccessToken)

The newly created customer access token object.

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

Deprecated return fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Sign up for a Partner account to get started.

Sign up