Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions guides/v2.3/graphql/mutations/update-customer-address.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@ The `updateCustomerAddress` mutation returns the `CustomerAddress` object.

{% include graphql/customer-address-output.md %}

## Errors

Error | Description
--- | ---
`Address "id" value should be specified` | The `id` attribute is zero.
`Could not find a address with ID "XXX"` | The customer address specified in the `id` attribute does not exist.
`Current customer does not have permission to address with ID "XXX"` | The customer tries to update the address of another customer.
`Field "updateCustomerAddress" argument "id" of type "Int!" is required but not provided.` | The `id` attribute was omitted.
`Field "updateCustomerAddress" argument "id" requires type Int!, found "XXX".` | The specified `id` attribute value has the wrong type.
`"input" value must be specified` | The `input` attribute was omitted or was specified but is empty.
`Syntax Error: Expected Name, found )` | The `id` and `input` attributes are omitted.
`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.

## Related topics

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