Skip to main content
Version: 3.x

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

DEPRECATED

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

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

CustomerUpdate.user ● User object

Returned by

customerUpdate mutation


Was this page helpful?