Skip to main content
object

Requires unauthenticated_read_customers access scope.

A CustomerAccessToken represents the unique token required to make modifications to the customer object.

•String!
non-null

The customer’s access token.

•DateTime!
non-null

The date and time when the customer access token expires.


Was this section helpful?

•mutation

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

Arguments

•CustomerAccessTokenCreateInput!
required

The fields used to create a customer access token.


•mutation

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

Arguments

•String!
required

A valid multipass token to be authenticated.


•mutation

Renews a customer access token.

Access token renewal must happen before a token expires. If a token has already expired, a new one should be created instead via customerAccessTokenCreate.

Arguments

•String!
required

The access token used to identify the customer.


•mutation

Activates a customer.

Arguments

•ID!
required

Specifies the customer to activate.

•CustomerActivateInput!
required

The fields used to activate a customer.


•mutation

Activates a customer with the activation url received from customerCreate.

Arguments

•URL!
required

The customer activation URL.

•String!
required

A new password set during activation.


•mutation

"Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the customerRecover mutation."

Arguments

•ID!
required

Specifies the customer to reset.

•CustomerResetInput!
required

The fields used to reset a customer’s password.


•mutation

"Resets a customer’s password with the reset password URL received from a reset password email. You can send a reset password email with the customerRecover mutation."

Arguments

•URL!
required

The customer's reset password url.

•String!
required

New password that will be set as part of the reset password process.


•mutation

Updates an existing customer.

Arguments

•String!
required

The access token used to identify the customer.

•CustomerUpdateInput!
required

The customer object input.



Was this section helpful?