System Design Problem

Design a Coupon and Discount Engine

Commonly Asked By:AmazonWalmartPayPalGroupon

  • Create coupons: Percentage off, fixed amount, BOGO, free shipping, tiered discounts
  • Apply coupons: Validate and apply coupon code at checkout
  • Auto-apply promotions: Automatic discounts (site-wide sales, category discounts) without code
  • Stacking rules: Define which coupons can combine (stackable vs exclusive)
  • Eligibility rules: Target by user segment, purchase history, cart value, product category, first-time buyer
  • Usage limits: Per-coupon limit (10,000 total), per-user limit (1 per customer), time-bound
  • Coupon generation: Bulk generate unique codes for campaigns (100K codes)
  • Analytics: Track redemption rates, revenue impact, popular coupons
Loading...