APIs & Integrations

PlatoC
Member | Partner
Member | Partner

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?

 

Thanks in advance,

 

Mike

3 Replies 3
himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

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.

Please read here more https://developers.hubspot.com/apps/api_guidelines

Thanks
Digital Marketing & Inbound Expert In Growth Hacking Technology
0 Upvotes
PlatoC
Member | Partner
Member | Partner

How long will Get Associated Deals API endpoint be available for?

Thanks for the feedback! 

 

Regarding the increase in API calls now that we need to use the associations API endpoint, it will be more than an increase from 1 to 2 calls.

 

For example, if I have 20 deals associated 21 API calls. 

 

  • One to pull the list of associated deals
  • 20 to pull each deal individually and read it's data

Do you know if there is an alternative? I couldn't see a way to do this.

himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

How long will Get Associated Deals API endpoint be available for?

Hello @PlatoC 

 

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.

 

Thanks

 

Digital Marketing & Inbound Expert In Growth Hacking Technology