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.
Transfer Points
Transfers points from a source loyalty program member to a target loyalty program
member, or to a group that the member is a part of.
This action is available in API version 64.0 and later for users with Loyalty Management license.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/transferPoints
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| programName |
|
| programCurrencyName |
|
| transferPoints |
|
| sourceProgramMembershipNumber |
|
| sourceProgramMemberId |
|
| targetProgramMembershipNumber |
|
| targetProgramMemberId |
|
| additionalInformation |
|
Outputs
| Input | Details |
|---|---|
| programName |
|
| programCurrencyName |
|
| pointsTransferred |
|
| sourceProgramMemberId |
|
| targetProgramMemberId |
|
| sourceTransactionJournalId |
|
| targetTransactionJournalId |
|
- Sample Request
-
1{ 2"inputs": [ 3{ 4"programName": "NTORules", 5"sourceProgramMembershipNumber": "N01", 6"targetProgramMembershipNumber": "N02", 7"programCurrencyName": "NQP Fixed Negative Trace", 8"transferPoints": 5, 9"additionalInformation": "Tried Transfer Points testing" 10} 11] 12} - Sample Response
-
1{ 2"actionName":"transferPoints", 3"errors":null,"invocationId":null, 4"isSuccess":true,"outcome":null, 5"outputValues":{ 6"targetTransactionJournalId":"0lVLT0000001ATa", 7"programCurrencyName":"NQPFixed", 8"programName":"Program001", 9"pointsTransferred":10, 10"sourceProgramMemberId":"0lMLT0000000OtZ", 11"sourceTransactionJournalId":"0lVLT0000001ATZ", 12"targetProgramMemberId":"0lMLT0000000OvB"}, 13"sortOrder":-1,"version":1 14}