Discounts
Overview
Discounts can be applied on all Price structures using the DiscountType. This advises the Seller that a reduction in the price has been applied, which can be either a percentage of the amount, or a fixed amount, as detailed below.
The Price Amount will show the final price after the discount was applied.
A seller can also requests to apply a particular discount code to be applied in the shopping request usingĀ
Percentage Discount
If a percentage discount is applied, the discount structure may show the percentage value and the amount prior to the discount along with a short description or reason for the discount and any related discount code applied.
<cns:Discount>
<cns:AppText>Your Discount Code</cns:AppText>
<cns:DescText>Family Discount Deal</cns:DescText>
<cns:DiscountPercent>10</cns:DiscountPercent>
<cns:PreDiscountedAmount CurCode="CHF">20</cns:PreDiscountedAmount>
</cns:Discount>
Fixed Price Discount
Similarly, if the discount is a set amount, its simply shown in the DiscountAmount element.
<cns:Discount>
<cns:AppText>Your Discount Code</cns:AppText>
<cns:DescText>Family DIscount Deal</cns:DescText>
<cns:DiscountAmount CurCode="CHF">10</cns:DiscountAmount>
<cns:PreDiscountedAmount CurCode="CHF">20</cns:PreDiscountedAmount>
</cns:Discount>
Ā