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.
Reinstate Points Action
Restore expired points to a loyalty program member's balance.
This action is available in API version 67.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/reinstatePoints
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
| Input | Details |
|---|---|
| loyaltyProgramCurrencyName |
|
| loyaltyProgramMemberId |
|
| loyaltyProgramMembershipNumber |
|
| loyaltyProgramName |
|
Outputs
| Output | Details |
|---|---|
| pointsReinstated |
|
| reinstatementTransactionJournalId |
|
Example
- POST
-
Here's a sample request for the Reinstate Points action.
1{ 2 "inputs": [ 3 { 4 "loyaltyProgramName": "American Airlines", 5 "loyaltyProgramMemberId": "0lMSG0000001mnU2AQ", 6 "loyaltyProgramCurrencyName": "AAdvantage Miles" 7 } 8 ] 9} -
Here's a sample response for the Reinstate Points action.
1[ 2{ 3 "actionName": "reinstatePoints", 4 "errors": null, 5 "invocationId": null, 6 "isSuccess": true, 7 "outcome": null, 8 "outputValues": { 9 "reinstatementTransactionJournalId": "0lVSG0000007n5d", 10 "pointsReinstated": 200 11 }, 12 "sortOrder": -1, 13 "version": 1 14} 15]