Skip to main content
Version: 3.x

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.
confirmEmailChange(
channel: String
token: String!
): ConfirmEmailChange

Arguments

confirmEmailChange.channel ● String scalar

Slug of a channel which will be used to notify users. Optional when only one channel exists.

confirmEmailChange.token ● String! non-null scalar

A one-time token required to change the email.

Type

ConfirmEmailChange object

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.

Was this page helpful?