Newer Version Available
Promotion Reward Application (POST)
Create and process transaction journals for customer orders, and apply the relevant
promotions for the orders.
- Resource
-
1/global-promotions-management/promotion-reward - Resource example
-
1https://yourInstance.salesforce.com/services/data/v66.0/global-promotions-management/promotion-reward - Available version
- 65.0
- HTTP methods
- POST
- Request body for POST
-
- JSON example
-
1{ 2 "shouldCheckCouponUsageLimit": true, 3 "journalCreationMode": "CreateTransactionJournal", 4 "transactionJournalList": [ 5 { 6 "ActivityDate": "2025-10-08T12:45:19Z", 7 "JournalTypeId": "0lET10000004CQp", 8 "ReferredPartyId": "003SB00000U84F0YAJ", 9 "Quantity": "1", 10 "TransactionAmount": "5000", 11 "CurrencyIsoCode": "USD", 12 "Status": "Processed", 13 "appliedPromotions": [ 14 { 15 "promotionId": "0c8SB000000HASnYAO", 16 "promotionCode": "GET10OFF", 17 "couponCode": "COUPON100", 18 "rewards": [ 19 { 20 "rewardType": "ProvideDiscount", 21 "discountAmount": 15 22 }, 23 { 24 "rewardType": "IssueVoucher", 25 "voucherDefinitionName": "$100 off", 26 "voucherCode": "SALE-4F8G-RT2P", 27 "voucherEffectiveDate": "2025-10-09", 28 "voucherExpirationDate": "2025-10-10", 29 "notes": "discount voucher" 30 }, 31 { 32 "rewardType": "AssignGame", 33 "gameDefinitionName": "SpintheWheelGame", 34 "gameExpirationDate": "2025-10-10" 35 } 36 ] 37 } 38 ] 39 } 40 ] 41} - Properties
-
Name Type Description Required or Optional Available Version journalCreationMode String Specifies whether to create a transaction journal record and, if so, where to store the data. Optional 66.0 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
- Response body for POST
- Promotion Reward Application