Update a company

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

idstringRequired

Request

Updated company details.
attributesobjectOptional
Attributes for company update
countryCodelongOptional

Country code if phone_number is passed in attributes.

linkedContactsIdslist of longsOptional

Warning - Using PATCH on linkedContactIds replaces the list of linked contacts. Omitted IDs will be removed.

linkedDealsIdslist of stringsOptional

Warning - Using PATCH on linkedDealsIds replaces the list of linked contacts. Omitted IDs will be removed.

namestringOptional
Name of company

Response

Company updated successfully
attributesobject or null
Company attributes with values
idstring or null
Unique company id
linkedContactsIdslist of integers or null
Contact ids for contacts linked to this company
linkedDealsIdslist of strings or null
Deals ids for companies linked to this company

Errors