cURL
curl --request GET \ --url https://public-api-demo.clearline.me/pos/{posSystemId}/coupon/active/locationId/{posLocationId} \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "code": "<string>", "url": "<string>", "couponImage": "<string>", "status": "example | active | archived | template | deleted", "name": "<string>", "title": "<string>", "subtitle": "<string>", "description": "<string>", "couponCategoryId": "<string>", "couponCategoryName": "<string>", "banner1": "<string>", "banner2": "<string>", "banner3": "<string>", "banner4": "<string>", "banner5": "<string>", "subaccount": "<string>", "logoUrl": "<string>", "couponTags": "<string>", "expiryDate": "<string>", "promotion": { "value": 123, "promotionType": 1 }, "isSelected": true } ], "page": { "page": 123, "pageSize": 123, "total": 123 }, "posStatus": "Accepted" }
Get active coupons by location for the specified POS system.
JWT Authorization header using the Bearer scheme.
Pos system name
Pos location identifier
Success
Show child attributes
Accepted
Disabled
NotAvailable