novinzodevelopers
Your store's APIApps referenceCoupons

Get Coupon

GET/admin/coupon/{couponId}

One of the store's live coupons, by its id.

Path Parameters

couponId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response Body

application/json

application/json

application/json

application/json

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