Order amount promotion rules
The order amount promotion rule 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.
Order amount promotions rules are used to trigger the associated promotion only when the total amount of an order is over the specified one. Any other promotions already applied to the order (e.g. with higher priority) are considered in the comparison and the specified amount is checked against the total discounted amount.
Set the use_subtotal
attribute to true
(default is false
) if you want to compare the specified amount that should trigger the promotion with the order's subtotal and exclude other discount calculations (if any).
Last updated