Docs
Dashboard

customerPasswordReset

Mutation

Resets a customer’s password using a valid reset token. This mutation requires the customer to provide their email, the new password, and the reset token they received via email.

#

Arguments


input
CustomerPasswordResetInput!Required

The fields used to reset a customer’s password.

#

Payload


customer
Customer

The customer object which was reset.

customerAccessToken
CustomerAccessToken

A newly created customer access token object for the customer.

errors
[CustomerPasswordResetError!]

User-facing errors that prevented the operation from succeeding.