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

  • Base URL
    https://api.mitti.com
  • Auth
    HTTP bearer

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

Changes

No recorded changes to this operation across all 2 revisions of this API.