CRM

EInc
Member

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

SOLVE

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 Accepted solution
Bryantworks
Solution
Key Advisor | Diamond Partner
Key Advisor | Diamond Partner

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

SOLVE

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

Chris Bryant | Your Dedicated HubSpot Expert

View solution in original post

0 Upvotes
2 Replies 2
Bryantworks
Solution
Key Advisor | Diamond Partner
Key Advisor | Diamond Partner

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

SOLVE

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
Member

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

SOLVE

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