Skip to main content
GET
List programs

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required

Query Parameters

filters
Loyalties Programs List Request Query · object | null

Filters for the program list. Nested object serialized in the query string (e.g. filters[status][conditions][$is]=ACTIVE). Each field accepts a conditions object with at least one condition. Only the condition operators supported by each field type are allowed. Request query schema for GET /v2/loyalties/programs.

limit
default:10

Limits the page size to an integer from 1 to 100. Defaults to 10. A numeric string is accepted and rounded to the nearest integer.

Required range: 1 <= x <= 100
order

Orders the results. Accepts one value or an array. Prefix a field with - for descending order. Defaults to -created_at. The same field cannot be used in both directions. Rows with the same sort value are then ordered by id ascending.

Available options:
-created_at,
created_at,
name,
-name
cursor
string | null

Continues pagination. Pass the cursor.next value from a previous response. Format lcrsprg_[a-f0-9]+. The cursor matches the filters and order of that response.

Pattern: ^lcrsprg_[a-f0-9]+$

Response

Paginated list of programs.

Response body schema for GET /v2/loyalties/programs.

object
string

Object type marker.

Allowed value: "list"
data
object[]

Programs on the current page.

cursor
object | null

Pagination cursor, or null when there are no more results.