Skip to content
Kitenzo Headless is currently invite-only. To enable it on your store, email support@kitenzo.com.

Limit rules

Limit rules constrain what counts as a valid bundle (minimums, maximums, multiples). They’re returned in limitRules[] on GET /bundles/:id.

{ "type": "total-number-of-products", "operation": "gte", "value": "3", "sectionId": null }
FieldTypeDescription
typestringThe rule type (below).
operationstringgt | gte | lt | lte | eq.
valuestringThe threshold.
sectionIdnumber | nullnull = applies to the whole bundle; otherwise scoped to a section.
typeConstrains
bundle-priceThe bundle price after discount.
bundle-price-before-discountThe bundle price before discount.
total-number-of-productsTotal count of all products in the bundle.
amount-of-one-productMax quantity of any single product.
number-of-different-productsCount of distinct products.
multiples-ofThe product count must be a multiple of value (e.g. 6, 12, 18).
  • Rules are evaluated once all sections are filled. The SDK’s builder exposes violations as errors and reflects overall validity through isValid / isComplete.
  • Only rules that target the bundle are returned to headless consumers (rules that gate free items are handled internally).