Skip to main content

CustomerUpdate

Updates an existing customer.

Requires MANAGE_USERSpermission.

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

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

CustomerUpdate.errors ● [AccountError!]! non-null object users

CustomerUpdate.user ● User object users

Returned By

customerUpdate mutation