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).
2 weeks ago
Is it possible to pull the associated company details when using the search API?
I'm searching for deals, and would like to return the associated company. I can get it if I view all deals, but that isn't ideal.
Using the below endpoint:
https://api.hubapi.com/crm/v3/objects/deals/search
Solved! Go to Solution.
a week ago
Hi @hanks83 ,
I think you need a second API call for this. If you have retrieved all your deals, you can then use the associations endpoint to retrieve all associated companies, as described in this post.
So first store all deal ID's in an array after your search and then call the associations API to retrieve the associated companies.
a week ago
Hi @hanks83 ,
I think you need a second API call for this. If you have retrieved all your deals, you can then use the associations endpoint to retrieve all associated companies, as described in this post.
So first store all deal ID's in an array after your search and then call the associations API to retrieve the associated companies.