Newer Version Available
Adjust Points
This action is available in API version 51.0 and later for users with Loyalty Management license.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/adjustPointsAction
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| AdjustmentCategory |
|
| AdjustmentType |
|
| JournalId |
|
| LoyaltyProgramCurrencyId |
|
| LoyaltyProgramMemberId |
|
| Points |
|
| PointsExpirationDate |
|
| ReasonforChange |
|
Outputs
| Output | Details |
|---|---|
| AdjustmentTransactionJournalId |
|
Example
Sample Request
1{
2 "inputs":[{
3 "LoyaltyProgramMemberId": "0lmxx00004000001AAB",
4 "LoyaltyProgramCurrencyId": "0lpxx00004000001AAB",
5 "Points": 500.0,
6 "PointsExpirationDate": "2022-08-12",
7 "AdjustmentType": "Credit",
8 "ReasonForChange": "Compensation"
9 }]
10}Sample Response
1{
2 "errors":null,
3 "isSuccess":true,
4 "outputValues":{
5 "AdjustmentTransactionJournalId":"0lvxx00004000001AAB"}
6 }
7}