Apply Coupon
Apply a discount coupon to the shopping cart.Authentication
Requires user authentication (optional for guest users).Request Body
Coupon code to apply (case-insensitive, will be converted to uppercase)
Platform identifier (app/web/offline)
Response
Returns the updated cart with coupon discount applied.Products in cart with updated pricing
Cart metadata including coupon details and calculations
Array of metadata items including coupon information
Updated cart totals with coupon discount
Coupon Validation Flow
- Code Sanitization - Coupon code is sanitized and converted to uppercase
- TSS Points Check - Coupons cannot be used with TSS points
- Coupon Validation - Checks validity against:
- Date range (start_date to end_date)
- Platform eligibility (app/web/both/all)
- User eligibility (new users, specific users)
- Product categories
- Minimum order amount
- Usage limits
- Cart Update - Applies discount to eligible products
Error Responses
Error title
Detailed error message
Get Valid Coupons
Retrieve all valid coupons applicable to the current cart.Request Body
Platform identifier (app/web/offline)
Response
Returns an array of valid coupons for the current cart.Coupon ID
Coupon identifier
Coupon code
Coupon description/message
Voucher type (percentage/fixed)
Discount value (percentage or fixed amount)
Minimum order amount required
Minimum quantity of items required
Maximum discount cap for percentage coupons
Array of category IDs this coupon applies to
Coupon Restrictions
- Cannot be combined with TSS points
- Cannot be combined with app discount (if enabled)
- Some products may be excluded from coupon discounts
- User-specific coupons require authentication
- Platform-specific coupons (app-only or web-only)
- Time-based restrictions (date range validity)
- Usage limit per user
Coupon Types
- Fixed Amount - Flat discount (e.g., ₹200 off)
- Percentage - Percentage discount with optional maximum cap
- MxN Offers - Buy M, get N free
- Category-Specific - Applies only to certain product categories
- New User - Valid only for first-time customers
- User-Specific - Targeted coupons for specific users