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

Commit 3a76d16

Browse files
sathiyaaakeharper
andauthored
added update customer coverage (#8420)
* added update customer coverage * Update update-customer.md Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
1 parent 9cf159b commit 3a76d16

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/guides/v2.4/graphql/mutations/update-customer.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@ The following table lists the top-level attributes of the `customer` object. See
6565

6666
{% include graphql/customer-output-24.md %}
6767

68+
## Errors
69+
70+
Error | Description
71+
--- | ---
72+
`"input" value should be specified` | The `input` argument is empty.
73+
`"Email" is not a valid email address.` | The value provided in the `input`.`email` argument has an invalid format.
74+
`Provide the current "password" to change "email".` | To change an email address, specify the correct customer password in the `password` argument.
75+
`A customer with the same email address already exists in an associated website.` | You cannot set a new email to a current customer, because another user has the same email address.
76+
`Invalid login or password.` | The value specified in the `password` argument is incorrect.
77+
`The current customer isn't authorized.` | The current customer is not currently logged in, or the customer's token does not exist in the `oauth_token` table.
78+
6879
## Related topics
6980

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

0 commit comments

Comments
 (0)