RegistrationFormConfig
Registration form configuration of the store — built-in sections plus store-defined custom fields. Render the sections and fields, then pass the collected values to customerSignup.
type RegistrationFormConfig {
addressSection: FormSectionRequirement!
companySection: FormSectionRequirement!
fields: [StorefrontFormField!]!
phoneSection: FormSectionRequirement!
requireApproval: Boolean!
}
Fields
RegistrationFormConfig.addressSection ● FormSectionRequirement! non-null enum
Address section (stored as the default customer address).
RegistrationFormConfig.companySection ● FormSectionRequirement! non-null enum
Company details section (name, tax ids).
RegistrationFormConfig.fields ● [StorefrontFormField!]! non-null object
Store-defined custom fields, in render order.
RegistrationFormConfig.phoneSection ● FormSectionRequirement! non-null enum
Phone number requirement.
RegistrationFormConfig.requireApproval ● Boolean! non-null scalar
True when the store reviews new accounts manually: customerSignup returns accountStatus PENDING_APPROVAL and no access token.
Returned By
registrationForm query