Manage Flexible Discounts
Partners can get flexible discounts for a product in a specific market segment and country. These discounts can be applied during the order placement process. For detailed guidance on managing Flexible Discounts through APIs, refer to Manage Flexible Discounts using APIs.
Testing flexible discounts in Sandbox
You can explore and test the Flexible Discounts feature in the Sandbox environment using the following options:
View the available flexible discounts
Go to Portal Resources > View Available Flex Discouts to view the available flexible discounts, as shown in the following figure:
The UI displays a list of current discounts, including the following details:
- Applicable market segments
- Applicable country
- Name and description of the discount
- Discount
code
to identify the discount. Use this code to apply the discounted price. - Start and end date of discount
- Status of the discount. Only discounts with ACTIVE status are eligible.
- Offer IDs the discount applies to.
- Type and value of discount. A discount can have either fixed discount or a percentage discount on the price. For example, if the
type
is FIXED DISCOUNT andvalue
is 20, andcurrency
is USD, means a flat discount of $20 on the offer price.
You can use the discount code while placing an order using the Create Order API.
View flexible discounts applied to an Order
If a Flexible Discount is applied during order placement, its details can be viewed from the Order screen. For example, in Manage Records > Orders, the discount information appears within the lineItems
section, as illustrated in the following figure:
The flexDiscounts section displays the discount code and indicates whether it was successfully applied to the order.