Newer Version Available
Adjust Points Actions
This object 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/adjustPoints
- Formats
- JSON, XML
- HTTP Methods
- GET, HEAD, POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| LoyaltyProgramMemberId |
|
| JournalId |
|
| LoyaltyProgramCurrencyId |
|
| Points |
|
| AdjustmentType |
|
| ReasonforChange |
|
| AdjustmentCategory |
|
Outputs
| Output | Details |
|---|---|
| AdjustmentTransactionJournalId |
|
Example
Sample Request
1{
2
3 "inputs":[
4 {
5 LoyaltyProgramMemberId:0lmxx00004000001AAB
6 LoyaltyProgramCurrencyId:0lpxx00004000001AAB
7 Points:10.50
8 AdjustmentType:"Credit"
9 ReasonForChange:"Compensation"
10 }
11 ]
12}Sample Response
1{
2 "errors":null,
3 "isSuccess":true,
4 "outputValues":{
5 "AdjustmentTransactionJournalId":"0lvxx00004000001AAB"}
6 }
7}