customer Reset By Url
Requires access scope.
Resets a customer's password using the reset URL from a password recovery email. The reset URL is generated by the mutation.
On success, returns the updated Customer and a new for immediate authentication.
This mutation handles customer credentials. Ensure the new password is transmitted securely and never logged or exposed in client-side code.
This mutation handles customer credentials. Ensure the new password is transmitted securely and never logged or exposed in client-side code.
Caution: This mutation handles customer credentials. Ensure the new password is transmitted securely and never logged or exposed in client-side code.
Arguments
- password (String!)
- resetUrl (URL!)
- Anchor to passwordpassword•String!required
New password that will be set as part of the reset password process.
- Anchor to resetUrlreset•URL!
Url required The customer's reset password url.
- customer (Customer)
- customerAccessToken (CustomerAccessToken)
- customerUserErrors ([CustomerUserError!]!)
- userErrors ([UserError!]!): deprecated
- Anchor to customercustomer•Customer
The customer object which was reset.
- Anchor to customerAccessTokencustomer•Customer
Access Token Access Token A newly created customer access token object for the customer.
- Anchor to customerUserErrorscustomer•[Customer
User Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to userErrorsuser•[User
Errors Error!]! non-nullDeprecated The list of errors that occurred from executing the mutation.