cURL
curl --request PATCH \ --url https://api.example.com/public/v2/companies/{company_id} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "domain": "<string>", "company_status": "<string>", "company_custom_fields": [ { "field_name": "<string>", "field_value": "<string>" } ] } '
{ "name": "<string>", "domain": "<string>", "company_status": "<string>", "company_custom_fields": [ { "field_name": "<string>", "field_value": "<string>" } ] }
Updates the details of an existing company using its unique identifier.
Format of custom fields in response. NESTED returns array of objects with id, field_name, field_value. FLAT returns object with field names as keys.
FLAT
NESTED
Show child attributes
OK. The company was successfully updated.