Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
A unique code identifying the loyalty card that you are looking to retrieve transaction data for.
"MmFAzfDe"
Query Parameters
Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
1 <= x <= 100
Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
id
, -id
Filters for listing member transactions. id
is the unique identifier of the transaction.
A cursor for pagination. It retrieves the transactions starting after a transaction with the given ID.
Response
Returns a dictionary of loyalty card transaction objects.
Response body schema for GET v1/loyalties/{campaignId}/members/{memberId}/transactions
and /loyalties/members/{memberId}/transactions
.
The type of the object represented by JSON.
list
Identifies the name of the attribute that contains the array of transaction objects.
data
A dictionary that contains an array of transactions. Each entry in the array is a separate transaction object.
As query results are always limited (by the limit parameter), the has_more
flag indicates if there are more records for given filter parameters. This lets you know if you can run another request to get more records returned in the results.
Returns an ID that can be used to return another page of results. Use the transaction ID in the starting_after_id
query parameter to display another page of the results starting after the transaction with that ID.