APIs & Integrations

kaleperez
Participant

Problem to update deals

SOLVE

I'm working in the process to upload the information from our CRM to HubSpot. I have a problem to update the deal information, because I need the "DealId" and I don't have this information in my crm. My idea is to get all deals and check if the deal exist using "Deal Name", but the API only return 250 deals. How can I get the "DealId" for the existing Deal in HubSpot and then update the Deal information.

I used this https://api.hubapi.com/deals/v1/deal/paged?hapikey=xxxx&includeAssociations=true&properties=dealname

0 Upvotes
2 Accepted solutions
himanshurauthan
Solution
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Problem to update deals

SOLVE

Hello @kaleperez 

 

Instead of running GET all deal API call, you can run a search on deal name using SEARCH the CRM . This allows to search for deals on basis of name, pipeline and properties.

On getting a match you can fetch Deal id/object id from response.

Hope this will help you.

 

Thans=ks

Digital Marketing & Inbound Expert In Growth Hacking Technology

View solution in original post

kaleperez
Solution
Participant

Problem to update deals

SOLVE

Great solution. Thanks.

View solution in original post

0 Upvotes
2 Replies 2
himanshurauthan
Solution
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Problem to update deals

SOLVE

Hello @kaleperez 

 

Instead of running GET all deal API call, you can run a search on deal name using SEARCH the CRM . This allows to search for deals on basis of name, pipeline and properties.

On getting a match you can fetch Deal id/object id from response.

Hope this will help you.

 

Thans=ks

Digital Marketing & Inbound Expert In Growth Hacking Technology
kaleperez
Solution
Participant

Problem to update deals

SOLVE

Great solution. Thanks.

0 Upvotes