Docs API Reference Coupon & Store Endpoints

Coupon & Store Endpoints

API endpoints for listing, searching, and retrieving coupons and stores.

4 views Updated 3 weeks ago

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, discount
  • store — Filter by store slug
  • category — Filter by category slug
  • type — 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.

Was this article helpful?