v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Deals

Link and Unlink a deal with contacts and companies

patch/crm/deals/link-unlink/{id}

Path parameters

idstring required

Request body

linkContactIdsinteger[]

Contact ids for contacts to be linked with deal

unlinkContactIdsinteger[]

Contact ids for contacts to be unlinked from deal

linkCompanyIdsstring[]

Company ids to be linked with deal

unlinkCompanyIdsstring[]

Company ids to be unlinked from deal

Example request

{
  "linkContactIds": [
    1,
    2,
    3
  ],
  "unlinkContactIds": [
    4,
    5,
    6
  ],
  "linkCompanyIds": [
    "61a5ce58c5d4795761045990",
    "61a5ce58c5d4795761045991",
    "61a5ce58c5d4795761045992"
  ],
  "unlinkCompanyIds": [
    "61a5ce58c5d4795761045994",
    "61a5ce58c5d479576104595",
    "61a5ce58c5d4795761045996"
  ]
}

Response

Successfully linked/unlinked contacts/companies with the deal.