customerReset

Required access

unauthenticated_write_customers access scope

Resets a customer’s password with a token received from CustomerRecover.

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

Argument Type Default Description
id required ID!

Specifies the customer to reset.

input required CustomerResetInput!

Return Fields

customer   (Customer)

The customer object which was reset.

customerAccessToken   (CustomerAccessToken)

A newly created customer access token object for the customer.

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