Coupon & Store API Endpoints
List Coupons
GET /api/v1/coupons
Parameters:
page— Page number (default: 1)per_page— Items per page (default: 20, max: 100)sort— Sort by:latest,popular,expiring,discountstore— Filter by store slugcategory— Filter by category slugtype— Filter by type:code,deal,shipping
Get Coupon Details
GET /api/v1/coupons/{id}
Search Coupons
GET /api/v1/coupons/search?q=nike+20+off
List Stores
GET /api/v1/stores
Get Store with Coupons
GET /api/v1/stores/{slug}
List Categories
GET /api/v1/categories
All list endpoints support pagination via
page and per_page parameters. Response includes meta with total counts.