Note: This is one of multiple posts about issues I’ve discovered while working depth with the Pipedrive API. A description of the use case and collection of all issues can be found at pipedrive-api-notes.md · GitHub.
To get data regarding deal flow, we need to fetch the flow for every single deal individually which is cumbersome, inefficient and time-consuming. It would be beneficial to have at least one of the following options:
- optionally include flow when fetching deals, i.e. something like
/deals?include_flow=true
(potentially even with additional settings like/deals?include_flow=true&flow_items=change
) - fetch flows for multiple deals in one request, i.e. something like
/deals/flow?deal_ids=1,2,3
or alternatively for all deals matching a certain filter - batch requests (similar to what e.g. Salesforce has with its Batch API, see Salesforce Developers)