How to access the Line-items (including all values like MRR and Margin) of an deal with the API?
解決
Hello everyone,
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.
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!
How to access the Line-items (including all values like MRR and Margin) of an deal with the API?
解決
Hey,
thanks for the reply. I was more looking to get alle the Data from the Deal since the quantity and term can be changed per Deal. Is there a way to get the line-items and there value per Deal or can I just get the line-item individually?
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!