Your store's APIApps referenceCoupons
List Coupons
GET
/admin/couponThe store's live coupons, a page at a time. Only those active now unless includeInactive is "true": without it, coupons scheduled to start or already ended are left out. The dashboard's list sends "true".
Query Parameters
pageSize*string
page*string
includeInactive?|null
sort?string|null
filters?string|null
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/admin/coupon?pageSize=string&page=string"{ "page": 0, "total": 0, "coupons": [ { "id": "string", "storeId": "string", "name": "string", "code": "string", "description": "string", "discount": { "variant": "fixed", "amountInMinorUnits": "string" }, "scope": { "_tag": "store" }, "createdAt": "string", "active": { "from": "string", "to": "string" }, "updatedAt": "string", "deletedAt": "string", "usageLimit": -9007199254740991 } ]}List Archived Coupons GET
The store's archived coupons, a page at a time. An archived coupon is over for good: it applies to no checkout, cannot be read, modified or restored, and its code is free for a new coupon.
List Store Variants GET
The store's live product variants, by product name, at most 100, those whose product or variant name holds `search` when it is given: what a coupon limited to chosen products is limited to.
