Skip to main content

confirmAccount Mutation

Confirm user account with token sent by email during registration.

Triggers the following webhook events:

  • ACCOUNT_CONFIRMED (async): Account was confirmed.
confirmAccount(
email: String!
password: String
token: String!
): ConfirmAccount
Details
type ConfirmAccount {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Arguments

email ● String!

E-mail of the user performing account confirmation.

password ● String

Password of the user confirming their account. Required when REQUIRED_PASSWORD mode is enabled in shop settings. Learn more at https://docs.saleor.io/upgrade-guides/core/migrate-account-merging

token ● String!

A one-time token required to confirm the account.

Type

ConfirmAccount

Confirm user account with token sent by email during registration.

Triggers the following webhook events:

  • ACCOUNT_CONFIRMED (async): Account was confirmed.