Change All Tiers or None

Change tier for a specified loyalty program member only when all the input parameters meet the criteria.

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/changeAllTierOrNone

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer token

Inputs 

InputTypeDescription
ChangeReasonstringThe reason for change in the tier.
ChangeReasonTypestringThe reason type for change in the tier.
LoyaltyProgramMemberIdIDRequired. ID of the loyalty program member.
ProgramNamestringRequired. The name of the loyalty program.
TierGroupNamestringRequired. The name of the tier group.
TargetTierNamestringRequired. The new tier to be associated with the loyalty program member.

Outputs 

OutputTypeDescription
LoyaltyProgramMemberIdIDID of the loyalty program member.
ProgramNamestringThe name of the loyalty program.
TierGroupNamestringThe name of the tier group.
TargetTierNamestringThe new tier associated with the loyalty program.

Example 

Sample Request

1{ 
2   "inputs":[{
3       "TierGroupName":"Default Tier Group",
4       "ProgramName":"Rewards program",
5       "TargetTierName":"Gold",
6       "LoyaltyProgramMemberId": "0lcxx00006000001AAA",
7       "ChangeReason":"Reason to change the tier"
8   }]
9}

Sample Response

1{ 
2   "actionName":"changeTierWhenNoErrors",
3   "errors":null,
4   "isSuccess":true,
5   "outputValues":{ 
6      "LoyaltyProgramMemberId":"0lcxx00006000001AAA",
7      "TierGroupName":"Default Tier Group",
8      "ProgramName": "Rewards program",
9      "TargetTierName":"Gold",
10   }
11}