Creating a link between modules

Creating a link between modules

Hi!

We need to create a link between a contact and a deal, and a link between a deal and an account ( assuming an account is the correct type of module).

Having read the documentation, Linking Module APIs, we would need to know what the actual endpoint is, but not guidance is provided.

So, for example, I've tried:

PUT  https://www.zohoapis.eu/crm/v2/contacts/contact_id/deals/deal_id

... but got the error:

  1. {
  2.   "code": "INVALID_DATA",
  3.   "details": {
  4.     "expected_data_type": "jsonobject"
  5.   },
  6.   "message": "body",
  7.   "status": "error"
  8. }
... and also:

PUT  https://www.zohoapis.eu/crm/v2/deals/deal_id/contacts/contact_id

... but got another error:

  1. {
  2.   "code": "INVALID_DATA",
  3.   "details": {},
  4.   "message": "the relation name given seems to be invalid",
  5.   "status": "error"
  6. }