Business systems
Promotions & Pricing Rules
Automatic discounts and discount codes that Kanorio applies at checkout.
Promotions change what a customer pays at checkout: automatic discounts that apply when conditions are met, and codes the customer enters. Promotions point at what they discount; products do not own promotions.
How the APIs fit
- Manage promotions with the Management API:
promotions.list,promotions.get,promotions.create,promotions.update(PATCH),promotions.archive,promotions.unarchiveandpromotions.delete. The same rules as the dashboard apply, andpromotions.createaccepts anIdempotency-Key. - Target lines with a selector instead of a product list:
kinds(PRODUCT, BOOKING, CUSTOM),refs(a product with an optional variant, a booking resource, or your own SKU for custom lines),categoryIdsandpriceRange.marketIdslimits a promotion to some markets. Bookings and custom lines can be in scope, including for minimum-order discounts. - Kanorio evaluates promotions during hosted checkout, so your front end does not calculate discounts itself. A headless storefront can read promotions to show badges, but the discount is only applied on Kanorio's checkout page.
- Subscribe to
promotions.redeemedandpromotions.redemption_revokedto learn when a paid order used a promotion and when a full refund gave the usage back;ec.order.paidcarriespromotionIdandpromotionCode.
The support table below shows what the APIs expose.
What the APIs expose
- Promotions & discount codesAvailable
- API
- Management API
promotions.*(list, get, create, update, archive, unarchive, delete; applied automatically at hosted checkout) - Hosted site
/marketing/promotions,/data/promotions- Webhooks
promotions.redeemed,promotions.redemption_revoked;ec.order.paidcarriespromotionId/promotionCode
API reference
Webhook events
- promotions.redeemed · Fired when a paid order redeems a promotion (automatic discount or discount code). Carries the promotion, the order and how the discount was split across lines; never the buyer email.
- promotions.redemption_revoked · Fired when a full refund revokes a redemption (the promotion usage count is given back). Partial refunds do not revoke.
Recent changes
- 2026-11-03 Promotions: create and manage promotions through the API; selector-based targeting
For site owners
How to use this product in the dashboard is covered in the help center.
Open the help center