Timeline deals from Multiple Pipelines

! URGENT ! :slight_smile:

Hi,

I’m trying to get deals from multiple pipelines grouped by defined interval of time.

Here’s the request:
https://api.pipedrive.com/v1/deals/timeline?start_date=2020-08-03&interval=week&amount=21&field_key=add_time&pipeline_id=2,3,4,5&exclude_deals=0&api_token=**********************

Unfortunately, the returned data pertain only to the first pipeline with ID=2.

The expected result would be to have in totals.count the sum of all the deals across the listed pipelines which could be differentiated by the ID of the pipeline.

I’d appreciate your help.

Thanks,
Chris

Hi Chris,
Looking at the reference, pipeline_id expects an integer, so I don’t think you can pass a series of ids.

If you leave it empty, it will return deals from all pipelines, and then you can ignore the ones from pipelines you don’t want.

1 Like

Thanks Dani, that explains a lot. I’ll try the workaround, then.

1 Like