customerReset - storefront - MUTATION
Version: unstable
Description:
"Resets a customer’s password with the token 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
id
: ID! - Specifies the customer to reset.
input
: CustomerResetInput! - The fields used to reset a customer’s password.
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.
Examples