AccountRegister Object
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 {
user: User @deprecated
requiresConfirmation: Boolean
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}
Fields
AccountRegister.user
● User
deprecated object users
DEPRECATED
The field always returns a User
object constructed from the input data. The user.id
is always empty. To determine whether the user exists in Saleor, query via an external app with the required permissions.
AccountRegister.requiresConfirmation
● Boolean
scalar miscellaneous
Informs whether users need to confirm their email address.
AccountRegister.accountErrors
● [AccountError!]!
deprecated non-null object users
DEPRECATED
Use errors
field instead.
AccountRegister.errors
● [AccountError!]!
non-null object users
Returned By
accountRegister
mutation