Skip to main content

AccountRegisterInput Input Type

Fields required to create a user.

input AccountRegisterInput {
firstName: String
lastName: String
languageCode: LanguageCodeEnum
email: String!
password: String!
redirectUrl: String
metadata: [MetadataInput!]
channel: String
}

Fields

firstName ● String

Given name.

lastName ● String

Family name.

languageCode ● LanguageCodeEnum

User language code.

email ● String!

The email address of the user.

password ● String!

Password.

redirectUrl ● String

Base of frontend URL that will be needed to create confirmation URL. Required when account confirmation is enabled.

metadata ● [MetadataInput!]

User public metadata. Can be read by any API client authorized to read the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

channel ● String

Slug of a channel which will be used to notify users. Optional when only one channel exists.

Member Of

accountRegister mutation