Skip to main content
POST
/
v2
/
pos
/
{posSystemId}
/
loyaltyCard
/
users
/
lookup
Search loyalty card users
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
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Enter JWT Bearer token only in the text input below.

Path Parameters

posSystemId
string
required

POS system

Body

Request

Request model for looking up a loyalty card users

posLocationId
string
required

The POS location identifier

Minimum string length: 1
keyword
string
required

Search key word for filtering coupons

Minimum string length: 3

Response

Success

data
object

Response model for looking up loyalty card users