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.
Generate Referral Code
This action is available in API version 57.0 and later for users with the Loyalty Management license.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/generateMemberReferralCode
- Formats
- JSON
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| LoyaltyProgramMemberId |
|
Outputs
None.
Example
Sample Request
1{
2 "inputs":[{
3 "LoyaltyProgramMemberId":"0lMxx0000A000001EAA"
4 }, {
5 "LoyaltyProgramMemberId":"0lQxx0000B000001EBS"
6 }]
7}