v1

latestOpenAPI 3.0.1MIT2026-07-263151,3912.3 MB
Earning Rules

List earning rule activities

<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 activities (audit trail) for a single earning rule. The same field cannot be used in both ascending and descending order at once. Default order is -created_at.

get/v2/loyalties/earning-rules/{earningRuleId}/activities

Path parameters

idstring required

Earning rule ID.

Query parameters

limitinteger

Number of items to return. Between 1 and 100, defaults to 10.

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

Sort order. A single value or repeated parameter. Allowed values: created_at, -created_at. Defaults to -created_at.

cursorstring

Pagination cursor returned in cursor.next of a previous response. Must match the pattern ^lcrsaer_[a-f0-9]+$.

junction'AND' | 'OR'

How multiple field filters are combined. Nullable.

Filters as a deep object, e.g. filters[type][conditions][$is]=vl.earning_rule.updated.

Response

Paginated list of earning rule activities

objectstring

Object type marker. Always list.