Skip to main content
Version: 3.x

AccountUpdate

Updates the account of the logged-in user.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • CUSTOMER_UPDATED (async): A customer account was updated.
  • CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated.
type AccountUpdate {
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
user: User
}

Fields

AccountUpdate.accountErrors ● [AccountError!]! deprecated non-null object

DEPRECATED

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

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

AccountUpdate.user ● User object

Returned by

accountUpdate mutation


Was this page helpful?