cURL
curl --request POST \ --url https://public-api-demo.clearline.me/v2/pos/{posSystemId}/coupon/couponCodes/validate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data ' { "posLocationId": "6orMqUyq2Hg3tP", "code": "Sl75Ev", "rewardProvider": "TwoReward" } '
{ "data": {} }
Validate coupon data
JWT Authorization header using the Bearer scheme.
Enter JWT Bearer token only in the text input below.
POS system identifier
Request
Request model for validating a coupon code
The POS location identifier
1
Coupon code
TwoReward
PJM
Dummy
Success
Response model for validating a coupon code