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

Input Details
ChangeReason
Type
string
Description
The reason for change in the tier.
ChangeReasonType
Type
string
Description
The reason type for change in the tier.
LoyaltyProgramMemberId
Type
ID
Description
Required. ID of the loyalty program member.
ProgramName
Type
string
Description
Required. The name of the loyalty program.
TierGroupName
Type
string
Description
Required. The name of the tier group.
TargetTierName
Type
string
Description
Required. The new tier to be associated with the loyalty program member.

Outputs

Output Details
LoyaltyProgramMemberId
Type
ID
Description
ID of the loyalty program member.
ProgramName
Type
string
Description
The name of the loyalty program.
TierGroupName
Type
string
Description
The name of the tier group.
TargetTierName
Type
string
Description
The new tier associated with the loyalty program.

Example

Sample Request

{ 
   "inputs":[{
       "TierGroupName":"Default Tier Group",
       "ProgramName":"Rewards program",
       "TargetTierName":"Gold",
       "LoyaltyProgramMemberId": "0lcxx00006000001AAA",
       "ChangeReason":"Reason to change the tier"
   }]
}

Sample Response

{ 
   "actionName":"changeTierWhenNoErrors",
   "errors":null,
   "isSuccess":true,
   "outputValues":{ 
      "LoyaltyProgramMemberId":"0lcxx00006000001AAA",
      "TierGroupName":"Default Tier Group",
      "ProgramName": "Rewards program",
      "TargetTierName":"Gold",
   }
}