Spoiler
Hello. To get deals, I use /crm/v3/objects/deal/search. But there is no association with contact in the answer. I could not find a suitable property. How to get an association without using additional queries?
Spoiler
Hello. To get deals, I use /crm/v3/objects/deal/search. But there is no association with contact in the answer. I could not find a suitable property. How to get an association without using additional queries?
Hi, @Vitaly_Gubkin.
Associations must be retrieved separately with either the v3 or v1 CRM Associations API.
While some of the v1 CRM APIs (e.g. the v1 Deals API) returned an associations object, the team decided to remove those with the v3 APIs to make each endpoint and call more efficient and modular.
Apologies for the inconvenience. If you’d like to share feedback on this matter, I recommend commenting on and upvoting feature requests like this.
Hi , i can’t find any subscription type on deals or contacts , to update contact related to deals , is there a workaround to manage this ? , actually i do this by tracking changes on deal properties to update contacts but i believe there is a better way to do that.
Hi @IsaacTakushi,
I found out that you have a better solution also in V3 API:
When we use the crm/v3/objects/deals endpoint we can just add query parameter of &associations=contacts to get this info (Please see https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deal…).
Please enable it with the crm/v3/objects/deals/search endpoint too.
It will be very helpful!
@IsaacTakushi jumping
Hi could this be done with hubspot starter ?