Newer Version Available
Promotion Reward Application Input
The details required to create transaction journals. The request includes a list of
transaction journals, which are to be created. It includes the list of promotions applied along
with the rewards. If any of the rewards aren't applied, then everything is rolled back. No
partial rewards are applied.
- JSON example
-
1{ 2 "shouldCheckCouponUsageLimit": true, 3 "transactionJournalList": [ 4 { 5 "ActivityDate": "2025-10-08T12:45:19Z", 6 "JournalTypeId": "0lET10000004CQp", 7 "ReferredPartyId": "003SB00000U84F0YAJ", 8 "Quantity": "1", 9 "TransactionAmount": "5000", 10 "CurrencyIsoCode": "USD", 11 "Status": "Processed", 12 "appliedPromotions": [ 13 { 14 "promotionId": "0c8SB000000HASnYAO", 15 "promotionCode": "GET10OFF", 16 "couponCode": "COUPON100", 17 "rewards": [ 18 { 19 "rewardType": "ProvideDiscount", 20 "discountAmount": 15 21 }, 22 { 23 "rewardType": "IssueVoucher", 24 "voucherDefinitionName": "$100 off", 25 "voucherCode": "SALE-4F8G-RT2P", 26 "voucherEffectiveDate": "2025-10-09", 27 "voucherExpirationDate": "2025-10-10", 28 "notes": "discount voucher" 29 }, 30 { 31 "rewardType": "AssignGame", 32 "gameDefinitionName": "SpintheWheelGame", 33 "gameExpirationDate": "2025-10-10" 34 } 35 ] 36 } 37 ] 38 } 39 ] 40} - Properties
-
Name Type Description Required or Optional Available Version shouldCheckCouponUsageLimit Boolean Indicates whether the API must execute the Coupon Usage Increase API to verify the coupon usage count and increase the redemption usage count of the specified coupon code (true) or not (false). Optional 65.0 transactionJournalList List<Map<String, Object>> The list of transaction journals to create. Required 65.0