cURL
curl --request POST \ --url https://public-api-demo.clearline.me/v2/pos/{posSystemId}/coupon/lookup \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data ' { "posLocationId": "6orMqUyq2Hg3tP", "keyword": "" } '
{ "data": { "coupons": [ { "id": "<string>", "couponImage": "<string>", "name": "<string>", "title": "<string>", "subtitle": "<string>", "description": "<string>" } ] } }
Search coupons by keyword
JWT Authorization header using the Bearer scheme.
POS system identifier
Request
Request model for looking up coupons
The POS location identifier
1
Search key word for filtering coupons
Success
Response model for looking up coupons
Show child attributes