Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

customerUpdate Mutation

Updates an existing customer.

Requires one of the following permissions:MANAGE_USERS

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.

Applied directives

@webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED, CUSTOMER_METADATA_UPDATED], syncEvents: [])
customerUpdate(externalReference: String, id: ID, input: CustomerInput!): CustomerUpdate

Returns

CustomerUpdate

Show return type
type CustomerUpdate {
  accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [AccountError!]!
  user: User
}

Arguments

externalReference

externalReference · String

External ID of a customer to update.

id

id · ID

ID of a customer to update.

input

input · CustomerInput!

Fields required to update a customer.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?