APIs & Integrations

caiorochap
Teilnehmer/-in

Get Deleted Deals

lösung

Hi everyone! I'm building a DB synchronization with HubSpot, to our internal Data Warehouse. I scheduled jobs to run everyday on the get recently modified/created deals and update the info on our DB. However, whenever an user deletes a Deal after one of our jobs run, we cannot know what deals were deleted, and thus we end up keeping the deleted deal on our DW, which ends up on some noise when our analysts create dashboards, models or whatever analysis. I'd like to know if there is some endpoint where I could get the deleted deals, to remove the noisy data.

0 Upvotes
1 Akzeptierte Lösung
WendyGoh
Lösung
HubSpot Employee
HubSpot Employee

Get Deleted Deals

lösung

Hi @caiorochap,

 

I'd love to point you to a similar query asked here: https://community.hubspot.com/t5/APIs-Integrations/Getting-deleted-deals-through-the-API/td-p/229282 and as Derek detailed:

 

If a deal has been deleted from your portal, it won’t show up in the response from the API at all. Any deal that’s returned from the deals API has not been deleted. If you’re looking to get notified when deals are deleted, I would recommend checking out the webhooks API and subscribing to deal deletions.

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort
WendyGoh
Lösung
HubSpot Employee
HubSpot Employee

Get Deleted Deals

lösung

Hi @caiorochap,

 

I'd love to point you to a similar query asked here: https://community.hubspot.com/t5/APIs-Integrations/Getting-deleted-deals-through-the-API/td-p/229282 and as Derek detailed:

 

If a deal has been deleted from your portal, it won’t show up in the response from the API at all. Any deal that’s returned from the deals API has not been deleted. If you’re looking to get notified when deals are deleted, I would recommend checking out the webhooks API and subscribing to deal deletions.