How to access the Line-items (including all values like MRR and Margin) of an deal with the API?SOLVE
Mar 30, 2021 5:43 AM
I was trying to figure out how to access the Line-items of an Deal and receive all Values which are shown in the interface. The only think I was able to figure out was how to get the assigned Line-items to a deal but it only gives me the IDs of the Line-items.
And I'm looking for these values:
Solved! Go to Solution.
Mar 31, 2021 7:26 AM - edited Mar 31, 2021 7:27 AM
Hey @KYilmaz, thanks for the reply!
Most* of those properties are deal properties so they can be pulled directly using the deals API - this would again be done by specifying those properties in parameters using ?properties=
Please see an example below:
*Note: the Margin property is a line item property only and not a deal property, and can't be pulled via the deals API > you would need to use the line items API per line item to get that information!
Hopefully that's helpful 🙂