limit, created_at, updated_at, and order. Availability and allowed values depend on the endpoint. Check the endpoint page for the full parameter list.
Paging the results
Some of the list API methods use thepage query parameter to display another page of results.
However, the following list API methods use the starting_after_id query parameter:
- List customer activity
- List customer activities
- List member activity
- List member activity (with campaign ID)
- List campaign transactions
- List voucher transactions
- List loyalty campaign transactions
- List loyalty card transactions
- List loyalty card transactions (with campaign ID)
- List campaign pending points
- List member pending points
- List member pending points (with campaign ID)
- List customer redeemables
- List referral code holders
- List referral code holders (with campaign ID)
- List bin entries
- List campaign templates
- Management – List campaign templates
more_starting_after key that takes a string value with an ID. Use this ID with the starting_after_id query parameter to display another page of results.
Cursor pagination (Loyalty v2)
Loyalty v2 list endpoints use cursor pagination instead ofpage or starting_after_id.
Typical response shape:
- Call the list endpoint without
cursorto get the first page. - If
cursor.nextis present, call the same endpoint again with?cursor={cursor.next}. - Stop when
cursorisnullorcursor.nextis missing. - Treat
cursor.expires_atas the validity window for that cursor value. Request a new first page if the cursor expires.
lcrsctx_ for card transactions and lcrsmbr_ for members). Always pass the exact cursor.next value returned by the previous response. See the Loyalty v2 endpoint pages under API reference for resource-specific cursor patterns.
Response format
The listing method returns a dictionary with a data property that contains an array of resources. The maximum number of resources returned is determined by thelimit query parameter. If no more resources are available, the resulting array on a given page will be empty. The result can be narrowed down according to the specified (or default) filters.
Shortcuts
List API methods offer query parameter shortcuts that map to internal filters. Each resource enables a specific set. If you need advanced options, read the next section.
For publications,
voucher_type matches with a starts-with condition, not an exact match.
Advanced filters for fetching resources
API methods for fetching resources also accept nestedfilters query parameters for more precise criteria.
For voucher
filters[active] and filters[redemption_status], send one condition key per request. Only the first condition key is applied.
