Links

Percentage discount promotions

The percentage discount promotion object and the allowed CRUD operations on the related resource endpoint
Commerce Layer provides a promotional engine built on top of two main resources: promotions and promotion rules.
When triggered, percentage discount promotions are responsible for adding a specific percentage discount to the orders involved.

Application scope

Percentage discount promotions can be optionally defined by currency code or restricted to a specific active market (in the latter case the currency code is inherited by the market's price list). Within the time window given by their activation and expiration dates, percentage discount promotions that have not reached their total usage limit are considered active. If no promotion rule is associated with an active percentage discount promotion, the discount is applied to:
  • All the orders, if the promotion is not restricted to a specific currency or market.
  • All the orders in the specified currency, if a currency code is specified but the promotion is not restricted to a specific market.
  • All the orders of the market in scope, if the promotion is attached to a market.
Otherwise, if one or more promotion rules are defined, the promotion is triggered only when it matches all of them.
Multiple percentage discount promotions can be applied to the same order, even concurrently with other promotion types (based on their priority and up to the involved items amount saturation), as long as you don't reach the maximum number of active promotions allowed for your organization. In this case, each subsequent percentage discount promotion is computed on the discounted total due to previous promotion applications.

Discount calculation and distribution

If associated with an SKU list, the total discount due to percentage discount promotions is calculated and distributed on the matching line items of type skus or bundles belonging to that list, according to the promotion logic. Otherwise, all the taxable items of the order.