Skip to main content
Version: 3.x

AccountRegister

Register a new user.

Triggers the following webhook events:

  • CUSTOMER_CREATED (async): A new customer account was created.
  • NOTIFY_USER (async): A notification for account confirmation.
  • ACCOUNT_CONFIRMATION_REQUESTED (async): An user confirmation was requested. This event is always sent regardless of settings.
type AccountRegister {
requiresConfirmation: Boolean
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
user: User
}

Fields

AccountRegister.requiresConfirmation ● Boolean scalar

Informs whether users need to confirm their email address.

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

DEPRECATED

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

AccountRegister.errors ● [AccountError!]! non-null object

AccountRegister.user ● User object

Returned by

accountRegister mutation


Was this page helpful?