Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

confirmAccount Mutation

Confirm user account with token sent by email during registration.

Triggers the following webhook events:

  • ACCOUNT_CONFIRMED (async): Account was confirmed.
  • CUSTOMER_UPDATED (async): Called if a customer account was confirmed.
  • STAFF_UPDATED (async): Called if a staff account was confirmed.

Applied directives

@webhookEventsInfo(asyncEvents: [ACCOUNT_CONFIRMED, CUSTOMER_UPDATED, STAFF_UPDATED], syncEvents: [])
confirmAccount(email: String!, password: String, token: String!): ConfirmAccount

Returns

ConfirmAccount

Show return type
type ConfirmAccount {
  user: User
  accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [AccountError!]!
}

Arguments

email

email · String!

E-mail of the user performing account confirmation.

password

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

token · String!

A one-time token required to confirm the account.


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?