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.
accountUpdate(
input: AccountInput!
): AccountUpdate

Arguments

accountUpdate.input ● AccountInput! non-null input

Fields required to update the account of the logged-in user.

Type

AccountUpdate object

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.

Was this page helpful?