Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

SKU list promotion rules

The SKU list 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.

SKU list promotion rules are used to trigger the associated promotion only if an order contains any (default) or all (set the all_skus attribute to true) of the SKUs within the specified list. Optionally, it is possible to specify a min_quantity, which overrides the all_skus option when set to a positive value. The check is performed against the order's line item quantities and the matching SKU list item's quantity, which is honored when the SKU list is manual.

In order for an SKU list promotion rule to apply to bundles, the two resources must share the same SKU list (there is no partial matching of SKUs). The min_quantity option will be checked against the quantity of the line item associated with the specific bundle.

Last updated