Promotion rules
The promotion rule object and the allowed CRUD operations on the related resource endpoint
Last updated
The promotion rule object and the allowed CRUD operations on the related resource endpoint
Last updated
Commerce Layer provides a promotional engine built on top of two main resources: promotions and promotion rules.
At the moment the following promotion rules are available (more to come):
With the exception of flex promotions (for which you're not required to define any promotion rule, set a currency code, or associate a specific market, but just provide a rule with specific conditions and actions), if one or more promotion rules are defined, the promotion is triggered only when it matches all of them. Otherwise, if no promotion rule is associated with an active promotion, the related discount is applied to:
All the orders, if the promotion is not restricted to a specific currency or market (only possible for buy X pay Y, free gift, free shipping, of percentage discount promotion types).
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.