Growth
List coupons with usage, filtered and paginated
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
Query Parameters
page?integer
Range
1 <= value <= 9007199254740991Default
1perPage?integer
Range
1 <= value <= 200Default
25q?string
Length
length <= 60status?string
Length
length <= 20000scope?string
Value in
- "global"
- "specific"
kind?string
Value in
- "percent"
- "fixed"
source?string
Value in
- "merchant"
- "recovery"
- "automation"
- "all"
sort?string
Default
"created"Value in
- "created"
- "code"
- "discount"
- "validity"
- "uses"
- "saved"
- "revenue"
- "last_used"
dir?string
Default
"desc"Value in
- "asc"
- "desc"
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/stores/string/coupons"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "external_ids": { "property1": "string", "property2": "string" }, "code": "string", "kind": "percent", "value": -9007199254740991, "currency": "string", "currencyValues": { "property1": -9007199254740991, "property2": -9007199254740991 }, "maxRedemptions": -9007199254740991, "maxDiscountedUnits": -9007199254740991, "maxDiscountMinor": -9007199254740991, "minSubtotalMinor": -9007199254740991, "perCustomerLimit": -9007199254740991, "startsAt": "string", "endsAt": "string", "eligibleProductIds": [ "ea29b267-1fc6-4712-9095-8625512d5326" ], "eligiblePaymentMethodIds": [ "f20f77b0-1fa5-4a4b-b162-49fb66837cc0" ], "eligibleEmails": [ "string" ], "countUsesAt": "paid", "incompatibleWith": [ "volume_discount" ], "excludedProductIds": [ "5a40c555-c270-43b9-b515-7e07ca8fb88e" ], "excludedVariantIds": [ "f65a8f8d-2ab2-4a74-a916-3f7e3c0b0b06" ], "eligibleVariants": { "property1": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "property2": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }, "productValues": { "property1": -9007199254740991, "property2": -9007199254740991 }, "discordRoleIds": [ "string" ], "showRemaining": true, "status": "active", "source": "merchant", "effectiveStatus": "active", "archivedAt": "string", "redeemed": -9007199254740991, "held": -9007199254740991, "counted": -9007199254740991, "remaining": -9007199254740991, "savedMinor": -9007199254740991, "revenueMinor": -9007199254740991, "refunded": -9007199254740991, "lastUsedAt": "string", "createdAt": "string" } ], "pagination": { "page": -9007199254740991, "perPage": -9007199254740991, "total": -9007199254740991 }}