curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/programs/{programId}/reports/earning-rules/summary \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'List program earning-rules summary reports
Returns total earning-rule evaluation statistics for the program (all time), optionally filtered by earning rule. Includes success and failure counts with a failures breakdown. Each entry counts eligibility checks for one earning rule. Returns at most 100 rows, ordered by id descending. limit and order are not query parameters. A filter that matches no rows returns an empty data array.
Returns 400 when query validation fails. Returns 404 when the program does not exist.
curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/programs/{programId}/reports/earning-rules/summary \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'Authorizations
Path Parameters
Identifies the loyalty program. Format: lprg_ followed by hexadecimal characters.
^lprg_[a-f0-9]+$Query Parameters
Filters rows by field. Each field accepts a conditions object with condition operators.
Filters for program earning-rules reports.
Show child attributes
Show child attributes
Response
Program earning-rules summary report.
Response body schema for GET /v2/loyalties/programs/{programId}/reports/earning-rules/summary.

