Discounts and Coupons (Shared Platform API)
Partners frequently use shared discount and coupon endpoints during pricing and checkout flows.
Verified endpoints
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /api/public/discount-rules/auto-apply | Get active automatic discount rules |
| POST | /api/coupons/validate | Validate a coupon code |
| POST | /api/coupons/check | Alias endpoint to check coupon availability |
Notes
- use these endpoints together with
/api/pricing/calculate-complete - coupon validation is typically consumed together with pricing in cents, but public discount-rule metadata may expose rule values/minimums as configured amounts from the discount rule model
- legacy examples without the
/apiprefix are outdated and should not be used