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
firstName · String
Given name.
lastName
lastName · String
Family name.
languageCode
languageCode · LanguageCodeEnum
User language code.
email · String!
The email address of the user.
password
password · String!
Password.
redirectUrl
redirectUrl · String
Base of frontend URL that will be needed to create confirmation URL. Required when account confirmation is enabled.
metadata
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
channel · String
Slug of a channel which will be used to notify users. Optional when only one channel exists.
Used by
Schema: Saleor 3.23.43. Download SDL.