Update a company
Update an existing company”s attributes, name, linked contacts, or linked deals. Note that passing linkedContactsIds or linkedDealsIds replaces the entire list of associations, so omitted IDs will be removed. The company name cannot be set to an empty string.
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
id
Request
Updated company details.
attributes
Attributes for company update
countryCode
Country code if phone_number is passed in attributes.
linkedContactsIds
Warning - Using PATCH on linkedContactIds replaces the list of linked contacts. Omitted IDs will be removed.
linkedDealsIds
Warning - Using PATCH on linkedDealsIds replaces the list of linked deals. Omitted IDs will be removed.
name
Name of company
Response
Company updated successfully
attributes
Company attributes with values
id
Unique company id
linkedContactsIds
Contact ids for contacts linked to this company
linkedDealsIds
Deal ids for deals linked to this company
Errors
400
Bad Request Error
404
Not Found Error