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 a business organization with associated addresses.

Provides access to address information for company accounts including headquarters, branch offices, shipping locations, and billing addresses used for B2B operations.