Skip to main content
GET
List program points-earnings summary reports

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

programId
string
required

Identifies the loyalty program. Format lprg_[a-f0-9]+.

Pattern: ^lprg_[a-f0-9]+$

Query Parameters

filters
object | null

Filters the results. Pass a deep object, for example filters[earning_rule_id][conditions][$is]=lern_.... Fields combine through junction, which defaults to AND. Omit filters to apply no field filter. Filters for program points-earnings reports.

Response

Program points-earnings summary report.

Response body schema for GET /v2/loyalties/programs/{programId}/reports/points-earnings/summary.

data
object[]
required

List of summary rows, one per earning rule, earning item, and card definition with recorded activity, ordered by id descending. Contains at most 100 rows. Empty when no activity was recorded.

object
string
required

Object type marker. Always report.

Allowed value: "report"