v1

latestOpenAPI 3.1.02026-07-263911,4691.1 MB
Companies

Update a company

Updates an existing contractor company by providing its ID and a field mask of attributes to change.

put/companies/v1/company

Request body

company_type_idstring required

Required. The ID of the contractor company type.

company_idstring required

Required. The ID of the contractor company.

update_maskstring required

Required. The attributes (such as name etc.) you want to update for the contractor company. The contents should reference fields of the ContractorCompanyAttributes message. For example, 'update_mask=name,contact_details.address' indicates that only the name and contact_details.address fields of the ContractorCompanyAttributes message should be updated. Any other attributes provided in the ContractorCompanyAttributes body will be ignored.

Response

A successful response.

S12ContractorsV1UpdateContractorCompanyResponse required