Price Sales Transaction API - get discount percentage
Summary:
We have defined a discount list which has an attribute based rule to apply a "Discount percent" on a sales order line.
Price Sales Transaction API successfully prices the line and shows the applied discount in amount (per unit and total), but it doesn't show which percentage was defined in the discount rule. Through OM UI you can clearly see in price explanation the amount and percentage, we were expecting to receive the same with REST API.
Currently we only see this attribute "PercentOfComparisonElement" but I don't think we can use this ⇒ "The percentage that this unit price is of the basis charge component unit price. By default the basis is the List Price. This attribute captures the Margin %, the % the Net Price is of the List Price etc."