Need a Freshsales API that returns all the information of products associated with a deal

Hi everyone! I need an Freshsales’s API that returns all the information of products associated with a deal.

I use this request too to get the product:

https://domain.myfreshworks.com/crm/sales/api/deals/[id]?include=products

But this request doesn’t return all the product’s data. Is there some another API that do what I need?

This can be done in 2 steps:

Step 1

Get a product associated with a deal by using ?include=deal_product:

GET /crm/sales/api/deals/{deal_id}?include=deal_product

See View a deal endpoint for details.

Step 2

Pass the product id to the View a product endpoint for details:

GET /crm/sales/api/cpq/products/{deal_product_id}

Alternative

I haven’t tested this myself, but documentation says you should be able to get a list of all existing deals’ products by calling this configuration endpoint:

GET /crm/sales/api/selector/deal_products
1 Like