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.

Assign Member Tier Benefits

Assign benefits to a loyalty program members based on their member’s tier for benefits that are associated with a Benefit Action.

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/assignMemberTierBenefits
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
LoyaltyProgramMemberId
Type
ID
Description
Required. ID of the loyalty program member to associate with the benefits.

Outputs

Output Details
MemberBenefits
Type
string[]
Description
The benefits associated with the member.

Example

Sample Request

1{
2   "inputs":[{
3      "LoyaltyProgramMemberId":"0lMR00000000001OAA"
4   }]
5}

Sample Response

1{
2   "actionName":"assignTierBenefits",
3   "errors":null,
4   "isSuccess":true,
5   "outputValues": { 
6        "MemberBenefits": [
7             '0hWR00000000001OAA',
8             '0hWR00000000001OAB',
9             '0hWR00000000001OAC'
10        ]
11   }
12}