Skip to main content

ConfirmEmailChange

Confirm the email change of the logged-in user.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • CUSTOMER_UPDATED (async): A customer account was updated.
  • NOTIFY_USER (async): A notification that account email change was confirmed.
  • ACCOUNT_EMAIL_CHANGED (async): An account email was changed.
type ConfirmEmailChange {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

ConfirmEmailChange.user ● User object users

A user instance with a new email.

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

DEPRECATED

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

ConfirmEmailChange.errors ● [AccountError!]! non-null object users

Returned By

confirmEmailChange mutation