Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit f8d33b5

Browse files
authored
Grammar/style updates
1 parent f1dbec4 commit f8d33b5

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/guides/v2.4/graphql/mutations/request-password-reset-email.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ contributor_name: Atwix
55
contributor_link: https://www.atwix.com/
66
---
77

8-
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.
8+
The `requestPasswordResetEmail` mutation triggers the password reset email by the provided email address. Use it to initiate the process to reset the registered customer's password before calling the [resetPassword]({{page.baseurl}}/graphql/mutations/reset-password.html) mutation.
99

1010
## Syntax
1111

@@ -35,7 +35,7 @@ mutation {
3535
}
3636
```
3737

38-
Customer will receive an email with an URL to reset a password.
38+
Customer will receive an email that contains a URL for resetting their password.
3939

4040
![Reset password email]({{ page.baseurl }}/graphql/images/reset-password-email.png)
4141

@@ -47,17 +47,22 @@ https://<MAGENTOSITE>/customer/account/createPassword/?token=gh80pkjGdsPyiXc0sUU
4747

4848
## Input arguments
4949

50-
Mutation contains a required `email` argument specified an email of customer.
50+
You must specify the customer's email address in the `email` input argument.
5151

5252
## Output attributes
5353

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`.
54+
The `requestPasswordResetEmail` mutation returns `true` if both of the following operations are successful:
55+
56+
- The reset password operation initiates.
57+
- Magent sends an email containing a reset link.
58+
59+
Otherwise, the mutation returns `false`.
5560

5661
## Errors
5762

5863
Error | Description
5964
--- | ---
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.
65+
`Cannot reset the customer's password` | A general error message that appears on some internal system errors. The original error is logged and can be found in the Magento logs.
6166
`The account is locked` | You cannot modify a locked customer account.
6267
`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.
68+
`You must specify an email address.` | An empty value is provided in the `email` argument.

0 commit comments

Comments
 (0)