updateLoyaltyTiers
Modify loyalty tier details such as name, description, level, required points, benefits, and active status in the Mews hospitality platform to ensure accurate customer rewards management.
Instructions
Updates information about the specified loyalty tiers
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ChainId | No | Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise. | |
LoyaltyTierUpdates | Yes | Loyalty tiers to be updated |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"ChainId": {
"description": "Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise.",
"type": "string"
},
"LoyaltyTierUpdates": {
"description": "Loyalty tiers to be updated",
"items": {
"additionalProperties": false,
"properties": {
"BenefitDescription": {
"description": "Description of the benefits for this tier (or null if the description should not be updated)",
"properties": {
"Value": {
"description": "Description of the benefits for this tier",
"type": "string"
}
},
"type": "object"
},
"Description": {
"description": "Description of the loyalty tier (or null if the description should not be updated)",
"properties": {
"Value": {
"description": "Description of the loyalty tier",
"type": "string"
}
},
"type": "object"
},
"IsActive": {
"description": "Whether the loyalty tier is active (or null if the status should not be updated)",
"properties": {
"Value": {
"description": "Whether the loyalty tier is active",
"type": "boolean"
}
},
"type": "object"
},
"Level": {
"description": "Level of the loyalty tier (or null if the level should not be updated)",
"properties": {
"Value": {
"description": "Level of the loyalty tier",
"type": "number"
}
},
"type": "object"
},
"LoyaltyTierId": {
"description": "Unique identifier of the loyalty tier",
"type": "string"
},
"MinimumPointsRequired": {
"description": "Minimum points required to reach this tier (or null if the points should not be updated)",
"properties": {
"Value": {
"description": "Minimum points required to reach this tier",
"type": "number"
}
},
"type": "object"
},
"Name": {
"description": "Name of the loyalty tier (or null if the name should not be updated)",
"properties": {
"Value": {
"description": "Name of the loyalty tier",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"LoyaltyTierId"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
}
},
"required": [
"LoyaltyTierUpdates"
],
"type": "object"
}