As part of duplicate prevention mechanism, I’d like to find a way to search open deals for a certain person ID. I used to use https://developers.pipedrive.com/docs/api/v1/#!/Deals/get_deals_search but it requires a “term” while I only have the person ID/email
What’s working best for you?
Hi @Michael_Imas
You could use GET /deals with filter_id, meaning create a filter that matches your criteria, something like this
and use that filter’s id in GET /deals
1 Like
curl --request GET
–url ‘Log in
–header ‘x-api-token: YOUR_API_TOKEN’
–header ‘Accept: application/json’
Well now with the latest API update you just grab deal_id right?