cURL
curl --request POST \ --url https://public-api-demo.clearline.me/v2/pos/{posSystemId}/loyaltyCard/users/lookup \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data ' { "posLocationId": "6orMqUyq2Hg3tP", "keyword": "laz" } '
{ "data": { "users": [ { "id": "<string>", "firstName": "<string>", "lastName": "<string>", "gender": "<string>", "phone": "<string>", "email": "<string>", "stamps": 123, "points": 123 } ] } }
Search the loyalty card users for the specified POS system and location by keyword.
JWT Authorization header using the Bearer scheme.
POS system
Request
Request model for looking up a loyalty card users
The POS location identifier
1
Search key word for filtering coupons
3
Success
Response model for looking up loyalty card users
Show child attributes