Skip to main content
POST
/
v2
/
pos
/
{posSystemId}
/
loyaltyCard
/
lookup
Search loyalty cards
curl --request POST \
  --url https://public-api-demo.clearline.me/v2/pos/{posSystemId}/loyaltyCard/lookup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '
{
  "posLocationId": "6orMqUyq2Hg3tP"
}
'
{
  "data": {
    "loyaltyCard": {
      "id": "<string>",
      "name": "<string>",
      "title": "<string>",
      "description": "<string>",
      "frontImage": "<string>",
      "loyaltyCardType": 1,
      "location": {
        "id": "<string>",
        "name": "<string>"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

posSystemId
string
required

POS system

Body

Request

Request model for looking up a loyalty card

posLocationId
string
required

The POS location identifier

Minimum string length: 1

Response

Success

data
object

Response model for looking up a loyalty card