curl --request GET \
--url https://public-api-demo.clearline.me/pos/{posSystemId}/loyaltyCard/location/{posLocationId} \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"code": "<string>",
"url": "<string>",
"status": "<string>",
"name": "<string>",
"title": "<string>",
"description": "<string>",
"type": "pointcard or stampcard",
"amountOfStamps": 123,
"amountOfPoints": 123,
"frontImage": "<string>",
"logo": "<string>",
"locations": [
{
"id": "<string>",
"name": "<string>",
"street": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"email": "<string>",
"phone": "<string>",
"website": "<string>",
"hours": "<string>",
"latitude": 123,
"longitude": "<string>",
"online": 123,
"password": "<string>"
}
],
"loyaltyCardType": 1
}
],
"page": {
"page": 123,
"pageSize": 123,
"total": 123
}
}Retrieve loyalty cards for the specified POS system and location.
curl --request GET \
--url https://public-api-demo.clearline.me/pos/{posSystemId}/loyaltyCard/location/{posLocationId} \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"code": "<string>",
"url": "<string>",
"status": "<string>",
"name": "<string>",
"title": "<string>",
"description": "<string>",
"type": "pointcard or stampcard",
"amountOfStamps": 123,
"amountOfPoints": 123,
"frontImage": "<string>",
"logo": "<string>",
"locations": [
{
"id": "<string>",
"name": "<string>",
"street": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"email": "<string>",
"phone": "<string>",
"website": "<string>",
"hours": "<string>",
"latitude": 123,
"longitude": "<string>",
"online": 123,
"password": "<string>"
}
],
"loyaltyCardType": 1
}
],
"page": {
"page": 123,
"pageSize": 123,
"total": 123
}
}