novinzodevelopers
Your store's APIApps referenceCoupons

List Archived Coupons

GET/admin/coupon/archived

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.

Query Parameters

pageSize*string
page*string
sort?string|null
filters?string|null

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/admin/coupon/archived?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    }  ]}