Export customer's transaction logs
GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/profile/:integrationId/export_log?rangeStart=2022-11-08T00:11:22.082Z&rangeEnd=2022-11-08T00:11:22.082Z&dateFormat=excel
Download a CSV file containing a customer's transaction logs in the loyalty program.
Tip: If the exported CSV file is too large to view, you can split it into multiple files.
The generated file can contain the following columns:
- customerprofileid: The ID of the profile.
- customersessionid: The ID of the customer session.
- rulesetid: The ID of the rule set.
- rulename: The name of the rule.
- programid: The ID of the loyalty program.
- type: The type of the loyalty program.
- name: The name of the loyalty program.
- subledgerid: The ID of the subledger, when applicable.
- startdate: The start date of the program.
- expirydate: The expiration date of the program.
- id: The ID of the transaction.
- created: The timestamp of the creation of the loyalty program.
- amount: The number of points in that transaction.
- archived: Whether the session related to the transaction is archived.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| rangeStart | string | (Required) Only return results from after this timestamp. | 
Note:
- This must be an RFC3339 timestamp string.
- You can include a time component in your string, for example, T23:59:59 to specify the end of the day. The time zone setting considered is UTC. If you do not include a time component, a default time value of T00:00:00 (midnight) in UTC is considered. |
| rangeEnd| string | | (Required) Only return results from before this timestamp.
Note:
- This must be an RFC3339 timestamp string.
- You can include a time component in your string, for example, T23:59:59 to specify the end of the day. The time zone setting considered is UTC. If you do not include a time component, a default time value of T00:00:00 (midnight) in UTC is considered. |
| dateFormat| string | | Determines the format of dates in the export document. |
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string |