addLoyaltyPrograms
Add new loyalty programs to the Mews MCP server, enabling creation of up to 1000 programs with customizable names, descriptions, external identifiers, and activation statuses for enhanced customer engagement.
Instructions
Adds new loyalty programs to the system
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ChainId | No | Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise. | |
LoyaltyPrograms | Yes | Array of loyalty program objects to create |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"ChainId": {
"description": "Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise.",
"type": "string"
},
"LoyaltyPrograms": {
"description": "Array of loyalty program objects to create",
"items": {
"additionalProperties": false,
"properties": {
"Description": {
"description": "Description of the loyalty program",
"type": "string"
},
"ExternalIdentifier": {
"description": "External identifier of the loyalty program",
"type": "string"
},
"IsActive": {
"description": "Whether the loyalty program is active",
"type": "boolean"
},
"Name": {
"description": "Name of the loyalty program",
"type": "string"
}
},
"required": [
"Name"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
}
},
"required": [
"LoyaltyPrograms"
],
"type": "object"
}