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 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.