cURL
curl --request POST \ --url https://public-api-demo.clearline.me/pos/{posSystemId}/coupon/couponCode/search \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data ' { "code": "10OFFmq8kl8", "email": null, "phone": null, "posLocationId": "6orMqUyq2Hg3tP" } '
{ "data": [ { "rewardProvider": "TwoReward", "code": "<string>", "name": "<string>", "title": "<string>", "pictureUrl": "<string>", "availableUntil": "2023-11-07T05:31:56Z", "status": "Issued", "info": [ { "title": "<string>", "items": {} } ] } ], "page": { "page": 123, "pageSize": 123, "total": 123 }, "posStatus": "Accepted" }
Search user coupons by search parameters for the specified POS system.
JWT Authorization header using the Bearer scheme.
Represent coupon search dto
Search by code
Search by email
Search by phone
Location POS identifier
Success
Show child attributes
Accepted
Disabled
NotAvailable