List products attached to deal does not include product data

Hi

Edit: Turns out it’s a bunch of deals pointing to products with active_flag false.
This is not a bug, just ignore me :smile:

Original:
https://developers.pipedrive.com/docs/api/v1/#!/Deals/get_deals_id_products
The endpoint has an option to include_product_data, but that seems to not happen anymore?
Setting it to 0 or 1 gives the same result and my code has started failing as “product” it not there.

It worked last Friday. Thanks in advance :slight_smile:

Just for info:
It is kind of confusing that it has
“product_id”: 2281,

“product”: null

That is where my assumptions went wrong.

1 Like