Last update:
April 11, 2024
requestRegistration mutation¶
This mutation registers:
- A company if all arguments have been provided.
- A customer only if the company value is null.
When a company is created, the customer becomes its member and owner. In this case, the customer is assigned the role of Organization maintainer, whose name or Id must be specified in appsettings.json.
Arguments¶
The InputRequestRegistrationType!
represents the input object for requesting registration. It defines the fields required to initiate a registration process.
Field | Description |
---|---|
storeId String! |
The Id of the store where the registration is being requested. |
languageCode String |
The language code used for localization during the registration process. |
organization InputRegisterOrganizationType |
The input object containing the details of the organization associated with the registration. |
contact InputRegisterContactType |
The input object containing the details of the contact person for the registration. |
account InputRegisterAccountType |
The input object containing the details of the user account to be created during the registration. |
Possible returns¶
Possible return | Description |
---|---|
RequestRegistrationType |
A registration request. |
|