CustomerUpdate
Updates an existing customer.
Triggers the following webhook events:
- CUSTOMER_UPDATED (async): A new customer account was updated.
- CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated.
type CustomerUpdate {
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
user: User
}
Fields
CustomerUpdate.accountErrors ● [AccountError!]! deprecated non-null object users
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
CustomerUpdate.errors ● [AccountError!]! non-null object users
CustomerUpdate.user ● User object users
Returned By
customerUpdate mutation