Programs
Get program spending summary report
<Warning><Badge color="yellow">BETA endpoint</Badge>
This is a work-in-progress documentation of a BETA endpoint. The parameters, fields, request and response bodies, and other data may subject to change. If you want to share feedback or improvements, contact Voucherify support or your Technical Account Manager.
</Warning>Returns total points-spending statistics for the program (all time), optionally filtered by card definition.
get/v2/loyalties/programs/{programId}/reports/spending/summary
Path parameters
programIdstring required
Unique loyalty program identifier (format: lprg_ followed by hexadecimal characters).
Query parameters
Field filters, e.g. filters[card_definition_id][conditions][$is]=lcdef_.... Each field accepts a conditions object with condition operators.
Response
Program spending summary report.