Skip to main content

companyUpdate

Update an existing company's information.

Modifies company details including name, contact information, organizational settings, and metadata. Only provided fields will be updated, others remain unchanged.

Possible errors:

  • COMPANY_NOT_FOUND_ERROR: Company with the specified ID does not exist
  • COMPANY_UPDATE_ERROR: Failed to update the company
  • EMAIL_ALREADY_IN_USE_ERROR: Email address is already associated with another company

AUTH: Role=[user.OWNER,user.EDITOR] OR (('user is authenticated') AND ('companyId(s) if present in input matches JWT'))

companyUpdate(
id: Int!
input: UpdateCompanyInput!
): Company!

Arguments

companyUpdate.id ● Int! non-null scalar

Unique identifier of the company to update.

Must be a positive integer representing a valid company ID in the system.

companyUpdate.input ● UpdateCompanyInput! non-null input

Updated company information.

Only provided fields will be updated, others remain unchanged.

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.