confirmEmailChange Mutation
Confirm the email change of the logged-in user.
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.
Applied directives
@webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED, NOTIFY_USER, ACCOUNT_EMAIL_CHANGED], syncEvents: [])
confirmEmailChange(channel: String, token: String!): ConfirmEmailChange
Returns
Show return type
type ConfirmEmailChange {
user: User
accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AccountError!]!
}Arguments
channel
channel · String
Slug of a channel which will be used to notify users. Optional when only one channel exists.
token
token · String!
A one-time token required to change the email.
Schema: Saleor 3.23.43. Download SDL.