Skip to main content

accountRegister Mutation

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.
accountRegister(
input: AccountRegisterInput!
): AccountRegister
Details
type AccountRegister {
user: User @deprecated
requiresConfirmation: Boolean
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Arguments

input ● AccountRegisterInput!

Fields required to create a user.

Type

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.