Skip to main content
GET
/
stores
/
{storeId}
/
coupons
/
{couponId}
cURL
curl --request GET \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/coupons/{couponId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "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"
  }
}

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
couponId
string
required
Required string length: 12 - 48

Response

Default Response

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