v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Companies

Link and Unlink company with contacts and deals

patch/companies/link-unlink/{id}

Path parameters

idstring required

Request body

linkContactIdsinteger[]

Contact ids for contacts to be linked with company

unlinkContactIdsinteger[]

Contact ids for contacts to be unlinked from company

linkDealsIdsstring[]

Deals ids for deals to be linked with company

unlinkDealsIdsstring[]

Deals ids for deals to be unlinked from company

Example request

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

Response

Returns list of company attributes