GET
/
loyalty-customers
/
{id}
Get a loyalty customer's points balance
curl --request GET \
  --url https://api.sandbox.primer.io/loyalty-customers/{id} \
  --header 'X-API-KEY: <api-key>'
{
  "id": "waon-customer-123",
  "connectionId": "waon-123",
  "connectionName": "WOAN",
  "balance": 500
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

The unique identifier for the customer on the loyalty provider.

Query Parameters

connectionId
string
required

ID of the Primer connection configuration.

Response

Successful Response

id
string

The unique identifier for the customer on the loyalty provider.

connectionId
string<uuid>

ID of the Primer connection configuration.

connectionName
string

Name of the loyalty provider.

balance
integer

The loyalty customer's points balance.