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 |
|
ChangeReasonType |
|
LoyaltyProgramMemberId |
|
ProgramName |
|
TierGroupName |
|
TargetTierName |
|
Outputs
Output | Details |
---|---|
LoyaltyProgramMemberId |
|
ProgramName |
|
TierGroupName |
|
TargetTierName |
|
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",
}
}