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

200
application/json

Successful Response

The response is of type object.