Skip to main content
GET
List Card Definition Activities

Authorizations

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

Path Parameters

cardDefinitionId
string
required

Identifies the card definition. Format lcdef_[a-f0-9]+.

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

Query Parameters

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
cursor
string | null

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

Pattern: ^lcrsacd_[a-f0-9]+$
filters
Loyalties Card Definitions Activities List Request Query · object | null

Filters the results. Pass a deep object, for example filters[type][conditions][$is]=vl.card_definition.created. Fields combine through junction, which defaults to AND. Omit filters to apply no field filter. Request query schema for GET /v2/loyalties/card-definitions/{cardDefinitionId}/activities.

Response

A paginated list of card definition activities.

Response body schema for GET /v2/loyalties/card-definitions/{cardDefinitionId}/activities.

data
object[]
required

The activities in the current page.

cursor
object | null
required

Pagination cursor. null when there are no more results.

object
string
required

Object type marker. Always list.

Allowed value: "list"