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.
Applied directives
@webhookEventsInfo(asyncEvents: [CUSTOMER_CREATED, NOTIFY_USER, ACCOUNT_CONFIRMATION_REQUESTED], syncEvents: [])
type AccountRegister {
user: User @deprecated(reason: "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.")
requiresConfirmation: Boolean
accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AccountError!]!
}
Fields
user
user · User
requiresConfirmation
requiresConfirmation · Boolean
Informs whether users need to confirm their email address.
accountErrors
accountErrors · [AccountError!]!
errors
errors · [AccountError!]!
Used by
Schema: Saleor 3.23.43. Download SDL.