Programs

List program card definition assignments

<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 a cursor-paginated list of card definitions assigned to the program.

get/v2/loyalties/programs/{programId}/card-definitions

Request

  • Base URL
    https://api.voucherify.io
  • URL
    https://api.voucherify.io/v2/loyalties/programs/{programId}/card-definitions
  • Auth
    none required

Path parameters

idstring required

Unique program identifier.

Query parameters

limitunknown

Maximum number of items to return. Between 1 and 100. Defaults to 10. Non-integer values are rounded.

string[]
OR
'-created_at' | 'created_at'

Sorting order. A single value or an array of values. Prefix with - for descending. Defaults to -created_at. The same field cannot be used in both ascending and descending order at once.

cursorunknown

Pagination cursor returned by a previous call (cursor.next).

Response

Paginated list of card definition assignments.

objectstring

Object type marker.

Changes

No recorded changes to this operation across all 1 revision of this API.