You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
The `requestPasswordResetEmail` mutation triggers the password reset email by the provided email address. Use it to initiate a reset password process for the registered customer before [resetPassword]({{page.baseurl}}/graphql/mutations/reset-password.html) mutation call.
Mutation contains a required `email` argument specified an email of customer.
51
+
52
+
## Output attributes
53
+
54
+
The `requestPasswordResetEmail` mutation returns `true` if reset password operation has been successfully initiated and email with a reset link has been sent. Otherwise returns `false`.
55
+
56
+
## Errors
57
+
58
+
Error | Description
59
+
--- | ---
60
+
`Cannot reset the customer's password` | General error message which appears on some internal system errors. The original error is logged and can be found in Magento logs.
61
+
`The account is locked` | You cannot modify a locked customer account.
62
+
`The email address has an invalid format.` | The value provided in the `email` argument has an invalid format.
63
+
`You must specify an email address.` | The empty value is provided in the `email` argument.
0 commit comments