List program rewards summary reports
Changed onReturns all-time reward-purchase totals for the program, one row per reward with a recorded purchase attempt. Filters rows with filters[reward_id]. 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.
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v2/loyalties/programs/{programId}/reports/rewards/summary
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or HTTP bearer
Query parameters
Filters the results. Pass a deep object, for example filters[reward_id][conditions][$is]=lrew_.... Fields combine through junction, which defaults to AND. Omit filters to apply no field filter.
Response
Program rewards summary report.
Changes
- breaking
the
//response's property type changed fromobjectto no type for status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - info
for the
queryrequest parameterfilters, the type was generalized fromobjectto no type - info
added
subschema #2to the//response propertyallOflist for the response status
- breaking
- breaking
for the
queryrequest parameterfilters, the type changed from no type toobject - breaking
the
//response's property type changed from no type toobjectfor status - info
api operation id
getProgramRewardsSummaryReportremoved and replaced withlistProgramRewardsSummaryReports - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
removed
subschema #2from the//response propertyallOflist for the response status
- breaking