"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`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation."
Access Scopes
`unauthenticated_write_customers` access scope.
Arguments
password:
String! -
New password that will be set as part of the reset password process.
resetUrl:
URL! -
The customer's reset password url.
Returns
customer:
Customer
The customer object which was reset.
customerAccessToken:
CustomerAccessToken
A newly created customer access token object for the customer.
customerUserErrors:
CustomerUserError!
The list of errors that occurred from executing the mutation.
userErrors:
UserError!
The list of errors that occurred from executing the mutation.