Skip to main content

RequestEmailChange

Request email change of the logged in user.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for account email change.
  • ACCOUNT_CHANGE_EMAIL_REQUESTED (async): An account email change was requested.
type RequestEmailChange {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

RequestEmailChange.user ● User object users

A user instance.

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

DEPRECATED

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

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

Returned By

requestEmailChange mutation