Skip to main content

companyCreate

Create a new company in the system.

Establishes a new company entity with the provided information including organizational details, contact information, and hierarchical relationships. The company will be created within the appropriate usergroup structure.

Possible errors:

  • COMPANY_ALREADY_EXISTS_ERROR: Company with the same name or identifier already exists
  • COMPANY_CREATE_ERROR: Failed to create the company
  • EMAIL_ALREADY_IN_USE_ERROR: Email address is already associated with another company
  • USERGROUP_NOT_FOUND_ERROR: Specified parent usergroup does not exist

AUTH: Role=[user.OWNER]

companyCreate(
input: CreateCompanyInput!
): Company!

Arguments

companyCreate.input ● CreateCompanyInput! non-null input

Company creation data.

Contains all the information needed to create a new company including organizational placement and business details.

Type

Company object

Company entity representing business organizations and corporate entities.

External entity from the company service that provides company identification and business information. Used as a reference for company-specific attributes and organizational relationships within the attribute system.