Link and Unlink a deal with contacts and companies

Link or unlink contacts and companies with a specific deal in a single request. You can simultaneously link new contacts/companies and unlink existing ones by providing the respective ID arrays in the request body.

Authentication

api-keystring

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

Path parameters

idstringRequired

Request

Linked / Unlinked contacts and companies ids.

linkCompanyIdslist of stringsOptional
Company ids to be linked with deal
linkContactIdslist of longsOptional
Contact ids for contacts to be linked with deal
unlinkCompanyIdslist of stringsOptional
Company ids to be unlinked from deal
unlinkContactIdslist of longsOptional
Contact ids for contacts to be unlinked from deal

Response

Successfully linked/unlinked contacts/companies with the deal.

Errors

400
Bad Request Error