AccountUpdate Object
Updates the account of the logged-in user.
Requires one of following set of permissions: AUTHENTICATED_USER or AUTHENTICATED_APP + IMPERSONATE_USER.
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.
Applied directives
@webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED, CUSTOMER_METADATA_UPDATED], syncEvents: [])
type AccountUpdate {
accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AccountError!]!
user: User
}
Fields
accountErrors
accountErrors · [AccountError!]!
errors
errors · [AccountError!]!
user
user · User
Used by
Schema: Saleor 3.23.43. Download SDL.