novinzodevelopers
Your store's APIApps referenceCoupons

List Coupons

GET/admin/coupon

The 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    }  ]}