We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Feb 2, 2022 5:00 AM - edited Feb 2, 2022 6:30 AM
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.
Solved! Go to Solution.
Feb 2, 2022 6:35 AM
Hey @EInc, you'd need to utilize the associations API to query the datapoints of associated objects.
Feb 2, 2022 6:35 AM
Hey @EInc, you'd need to utilize the associations API to query the datapoints of associated objects.
Feb 2, 2022 7:05 AM
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