List loyalty program transactions

GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/transactions?loyaltyTransactionType=manual&subledgerId=value&startDate=2022-11-08T00:11:22.082Z&endDate=2022-11-08T00:11:22.082Z&pageSize=50&skip=10

Retrieve loyalty program transaction logs in a given loyalty program with filtering options applied. Manual and imported transactions are also included.

Note: If no filters are applied, the last 50 loyalty transactions for the given loyalty program are returned.

Important: To get loyalty transaction logs for a given Integration ID in a loyalty program,
we recommend using the Integration API's Get customer's loyalty logs.

Request Params

KeyDatatypeRequiredDescription
loyaltyTransactionTypestringFilter results by loyalty transaction type:
  • manual: Loyalty transaction that was done manually.
  • session: Loyalty transaction that resulted from a customer session.
  • import: Loyalty transaction that was imported from a CSV file. | | subledgerId | string | | The ID of the subledger by which we filter the data. | | startDate | string | | Date and time from which results are returned. Results are filtered by transaction creation date.

Note: It must be an RFC3339 timestamp string. | | endDate | string | | Date and time by which results are returned. Results are filtered by transaction creation date.

Note: It must be an RFC3339 timestamp string. | | pageSize | number | | The number of items in this response. | | skip | number | | The number of items to skip when paging through large result sets. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring