Skip to main content

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 miscellaneous

Informs whether users need to confirm their email address.

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

DEPRECATED

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

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

AccountRegister.user ● User object users

Returned By

accountRegister mutation