Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Transaction Ledgers
Output representation of the transaction journals and the ledgers
associated with the specified loyalty program member.
- Sample Response
-
1{ 2 "message": null, 3 "status": true, 4 "transactionJournalCount": 2, 5 "externalTransactionNumber" : "123123" 6 "transactionJournals": [ 7 { 8 "activityDate": "2023-03-01T08:00:00.000Z", 9 "additionalAttributes": [ 10 { 11 "fieldName": "additionalInfo__c", 12 "value": "null" 13 }, 14 { 15 "fieldName": "Destination", 16 "value": "null" 17 } 18 ], 19 "journalSubTypeName": "Product Buy", 20 "journalTypeName": "Accrual", 21 "pointsChange": [], 22 "transactionJournalId": "0lVxx00000002rREAQ" 23 }, 24 { 25 "activityDate": "2023-02-01T20:00:00.000Z", 26 "additionalAttributes": [ 27 { 28 "fieldName": "additionalInfo__c", 29 "value": "test123" 30 }, 31 { 32 "fieldName": "Destination", 33 "value": "Jaipur" 34 } 35 ], 36 "journalSubTypeName": "Member Enrollment", 37 "journalTypeName": "Accrual", 38 "pointsChange": [ 39 { 40 "changeInPoints": "-100.0", 41 "loyaltyMemberCurrency": "Tier Points" 42 }, 43 { 44 "changeInPoints": "90.0", 45 "loyaltyMemberCurrency": "Reward Points" 46 } 47 ], 48 "productCategoryName": "Gift", 49 "productName": "New Member Gift Package", 50 "transactionAmount": "1000.0", 51 "transactionJournalId": "0lVxx00000000HlEAI" 52 } 53 ] 54}
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| message | String | The request response message. | Small, 58.0 | 58.0 |
| status | Boolean | Indicates whether the request was successful (true) or not (false). | Small, 58.0 | 58.0 |
| transactionJournalCount | Integer | The number of transaction journal records created for the member. | Small, 58.0 | 58.0 |
| transactionJournals | Transaction Details Output | The details of the transaction journals. | Small, 58.0 | 58.0 |