Programs

Get program spending summary report

<Info>

<Badge color="gray">Documentation in progress</Badge>

This documentation is in progress. The parameters, fields, request and response bodies, and other data may be subject to change. If you need more information or you want to share feedback, contact Voucherify support or your Technical Account Manager.

</Info>

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

junction'AND' | 'OR' nullable

Logical junction between the field filters. Defaults to AND behavior.

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.

object'report'

Object type marker. Always report.

Changes

Changed in 2 of the 62 revisions of this API.9

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • endpoint added

      endpoint-added

    This revision also has 292 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog