updateLoyaltyPrograms
Modifies details of specified loyalty programs, including name, description, external identifier, and active status, within the Mews MCP environment. Ensures accurate and up-to-date loyalty program information.
Instructions
Updates information about the specified loyalty programs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ChainId | No | Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise. | |
LoyaltyProgramUpdates | Yes | Loyalty programs 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"
},
"LoyaltyProgramUpdates": {
"description": "Loyalty programs to be updated",
"items": {
"additionalProperties": false,
"properties": {
"Description": {
"description": "Description of the loyalty program (or null if the description should not be updated)",
"properties": {
"Value": {
"description": "Description of the loyalty program",
"type": "string"
}
},
"type": "object"
},
"ExternalIdentifier": {
"description": "External identifier of the loyalty program (or null if the identifier should not be updated)",
"properties": {
"Value": {
"description": "External identifier of the loyalty program",
"type": "string"
}
},
"type": "object"
},
"IsActive": {
"description": "Whether the loyalty program is active (or null if the status should not be updated)",
"properties": {
"Value": {
"description": "Whether the loyalty program is active",
"type": "boolean"
}
},
"type": "object"
},
"LoyaltyProgramId": {
"description": "Unique identifier of the loyalty program",
"type": "string"
},
"Name": {
"description": "Name of the loyalty program (or null if the name should not be updated)",
"properties": {
"Value": {
"description": "Name of the loyalty program",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"LoyaltyProgramId"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
}
},
"required": [
"LoyaltyProgramUpdates"
],
"type": "object"
}