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

Commit c1d4bb6

Browse files
authored
Merge pull request #5633 from atwixfirster/mutation-changeCustomerPassword-errors
magento/devdocs#: Describe changeCustomerPassword mutation errors
2 parents a68c1e2 + 01635e8 commit c1d4bb6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

guides/v2.3/graphql/mutations/change-customer-password.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ The `changeCustomerPassword` mutation returns the `customer` object.
5757

5858
{% include graphql/customer-output.md %}
5959

60+
## Errors
61+
62+
Error | Description
63+
--- | ---
64+
`The current customer isn't authorized.` | The customer's token does not exist in the `oauth_token` table.
65+
`Invalid login or password.` | The password specified in the `currentPassword` attribute is not valid.
66+
`Specify the "currentPassword" value.` | The password specified in the `currentPassword` attribute is empty.
67+
`Specify the "newPassword" value.` | The password specified in the `newPassword` attribute is empty.
68+
`The account is locked.` | The customer's password cannot be changed because the account is locked.
69+
6070
## Related topics
6171

6272
* [customer query]({{page.baseurl}}/graphql/queries/customer.html)

0 commit comments

Comments
 (0)