CRM

EInc
Mitglied

How to fetch the fields of related object from a source object

lösung

Hi, I have a scenario where the Deals object have Account Id as a field, then from the deals api I want to fetch the Account details such as Account name, AccountEmail etc.. for the corresponding deal. In this case how can I retreive  all the deals (using search deal Api) along with the properties in a related table(here it is Account table). I couldn't find any option/sample data on where to specify this lookup fields in any deals api.

 

0 Upvotes
1 Akzeptierte Lösung
Bryantworks
Lösung
Autorität | Diamond Partner
Autorität | Diamond Partner

How to fetch the fields of related object from a source object

lösung

Hey @EInc, you'd need to utilize the associations API to query the datapoints of associated objects.  

Chris Bryant | Your Dedicated HubSpot Expert

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
2 Antworten
Bryantworks
Lösung
Autorität | Diamond Partner
Autorität | Diamond Partner

How to fetch the fields of related object from a source object

lösung

Hey @EInc, you'd need to utilize the associations API to query the datapoints of associated objects.  

Chris Bryant | Your Dedicated HubSpot Expert
0 Upvotes
EInc
Mitglied

How to fetch the fields of related object from a source object

lösung

Hi @Bryantworks ,

Thanks for your reply!

 

I found there is no params to fetch the properties/fields for the objects using association API. It gives me only the Id's of all the related objects. I require the fields from both the objects in my case

0 Upvotes