How long will Get Associated Deals API endpoint be available for?
Hi,
I have developed a HubSpot / Zapier / Salesforce integration we rely on.
It currently uses the API end point for "Get Associated Deals". This endpoint has been noted as deprecated.
I am using Get Associated Deals pull a list of all deals associated with a contact, looping through each deal and concatenating a string from a custom property within each deal, which gets saved back against the parent Contact.
The suggested new solution is to use the Associations API.
However the associations API approach would require me to:
Make a call to get a list of associated deals, and
Make a call for each individual deal ID to retrieve each deal
We are now faced with a substantial increase in API calls to do something that was previously possible in 1 call.
So my questions are:
1 - Is there an alternative approach that I am missing?
2 - How long with the deprecated "Get Associated Deals" end point be available to use before it disappears entirely?
How long will Get Associated Deals API endpoint be available for?
Hello
Yes, the get associated deals endpoint has got deprecated and asks us to use nee CRM associations API. We can still use that now but its a indication to move on new . There is no exact sunset of this API has been mentioned till now but will surely be released on HubSpot developer changelog. Please keep following that.
Next for your query that the change increased the number of API call from 1 to 2. That's also correct but HubSpot has done a significant change in API call limits and has raised the limit from 10 calls/ second to 100 calls / minute for each portal.
I don't see if there is any way or direct API call that can return deals details in a single API call. You need to: 1) Get all deal associations of a contact 2) Loop through all deal IDs to fetch details for each.
In CRM Associations API, the response do not hold any data regarding the association except the ID.