CRM records are associated to one another by a special type of object known as an "Association" object. There is even a dedicated suite of endpoints to interact with this object type (create, read, update and delete associations).
When using the CRM APIs you can include "associations" parameter in your request and specify the name of the associated objects you wish to retrieve. For instance the request below will retrieve all of the companies and any IDs of associated deals.
Notice in the above request there is an associations object containing "deals" with an array of results. You can then use the ID of each deal to retrieve specific pieces of information i.e the name, amount, stage etc...
CRM records are associated to one another by a special type of object known as an "Association" object. There is even a dedicated suite of endpoints to interact with this object type (create, read, update and delete associations).
When using the CRM APIs you can include "associations" parameter in your request and specify the name of the associated objects you wish to retrieve. For instance the request below will retrieve all of the companies and any IDs of associated deals.
Notice in the above request there is an associations object containing "deals" with an array of results. You can then use the ID of each deal to retrieve specific pieces of information i.e the name, amount, stage etc...