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.
Map Traceable Points for Redemption Transactions Action
This action is available in API version 66.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/mapTraceablePtForRedemTrxn
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
Either LoyaltyLedgerTraceabilityId or MemberId is required. If both are provided and the MemberId doesn’t belong to the specified LoyaltyLedgerTraceabilityId, an error is returned.
| Input | Details |
|---|---|
| loyaltyLedgerTraceabilityId |
|
| loyaltyProgramMemberId |
|
Outputs
| Output | Details |
|---|---|
| loyaltyProgramMemberId |
|
| numberOfTracesProcessed |
|
Example
- POST
-
Here's a sample request for the Map Traceable Points for Redemption Transactions action.
1{ 2 "inputs": [ 3 { 4 "loyaltyLedgerTraceabilityId": "0ltRM0000008Abc2AE", 5 "loyaltyProgramMemberId": "0lMRM0000004Eqv2AE" 6 } 7 ] 8} -
Here's a sample response for the Map Traceable Points for Redemption Transactions action.
1{ 2 "actionName": "mapTraceablePtForRedemTrxn", 3 "errors": null, 4 "isSuccess": true, 5 "outputs": { 6 "loyaltyProgramMemberId": "0lMRM0000004Eqv2AE", 7 "numberOfTracesProcessed": 5 8 } 9}