Newer Version Available
Credit 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/creditPoints
- Formats
- JSON, XML
- HTTP Methods
- GET, HEAD, POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| LoyaltyProgramMemberId |
|
| ProgramCurrencyName |
|
| ProgramName |
|
| Points |
|
| CorrelationId |
|
| JournalId |
|
| AdditionalNotes |
|
| FlowId |
|
Outputs
| Output | Details |
|---|---|
| LoyaltyProgramMemberId |
|
| ProgramCurrencyName |
|
| ProgramName |
|
| JournalId |
|
Example
Sample Request
1{
2 "inputs":[
3 {
4 "LoyaltyProgramMemberId":"0lMxx0000A000001EAA",
5 "ProgramCurrencyName":"Avios",
6 "ProgramName":"baLoyaltyProgram"
7 "Points":50.0,
8 "CorrelationId":"0lcxx00004000002AAA",
9 "JournalId":"0lcxx00204000001AAA",
10 "FlowId":"0lcxx00204000001AAA",
11 "AdditionalNotes":"Any additional Information"
12 }
13 ]
14}Sample Response
1{
2 "errors":null,
3 "isSuccess":true,
4 "outputValues":{
5 "LoyaltyProgramMemberId":"0lMxx0000A000001EAA",
6 "ProgramCurrencyName":"Avios",
7 "ProgramName":"baLoyalty",
8 "JournalId":"0lMxx0000A000001EAA"
9 }
10}