Coupons
Discount code management. Create percentage or fixed-amount coupons with usage limits and expiry dates.
Everybody loves a discount. Create, update, and manage coupon codes — percentage or fixed amount, with usage limits, expiry dates, and product eligibility checks.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | List coupons | Paginated list with filtering and search |
GET | List coupons (alt) | Alternative coupon listing endpoint |
GET | Get coupon details | Detailed info for a specific coupon |
GET | Get coupon settings | Global coupon configuration |
POST | Create coupon | Create a new coupon |
POST | Apply coupon | Apply a coupon to an order or cart |
POST | Cancel coupon | Remove an applied coupon |
POST | Re-apply coupon | Re-apply a previously cancelled coupon |
POST | Check product eligibility | Check if a product qualifies for a coupon |
POST | Store coupon settings | Save global coupon settings |
PUT | Update coupon | Update an existing coupon |
DELETE | Delete coupon | Delete a coupon |