Skip to main content
GET
/
stores
/
{storeId}
/
coupons
cURL
curl --request GET \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/coupons/ \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "items": [
      {
        "id": "cpn_p2v8q1mzj0kxw5h7n4tr3bcf",
        "code": "LAUNCH20",
        "displayName": "Launch week 20% off",
        "description": "Limited-time launch discount.",
        "type": "PERCENTAGE",
        "value": 20,
        "minimumPurchase": 1000,
        "maxUses": 500,
        "maxUsesPerCustomer": 1,
        "firstPurchaseOnly": false,
        "startsAt": "2026-05-01T00:00:00.000Z",
        "expiresAt": "2026-06-01T00:00:00.000Z",
        "enabled": true,
        "timesUsed": 42,
        "productIds": [],
        "createdAt": "2026-04-28T08:30:00.000Z",
        "updatedAt": "2026-05-12T11:15:00.000Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 25,
      "total": 1,
      "totalPages": 1
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token mode — passes the secret directly. Token starts with sk_.

Path Parameters

storeId
string
required
Required string length: 12 - 48

Query Parameters

page
integer
default:1
Required range: x >= 1
limit
integer
default:25
Required range: 1 <= x <= 100
Maximum string length: 128
type
Available options:
FIXED
enabled
boolean
sortBy
Available options:
code
sortOrder
Available options:
asc

Response

Default Response

ok
enum<boolean>
required
Available options:
true
data
any
required