cypher_update_coupon
ActiveTool of cypher-mcp
Patch a coupon's editable fields. Pass only the fields you want to change. To set a cap to unlimited (NULL in the schema), pass ``clear_uses_per_patron=true`` or ``clear_total_uses=true``. Renaming the code is allowed — existing patron redemption rows survive (they key on coupon id). RESTRICTED to operator — requires proof.
Parameters schema
{
"type": "object",
"required": [
"coupon_id"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"coupon_id": {
"type": "string"
},
"dpop_token": {
"type": "string",
"default": ""
},
"total_uses": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"valid_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"valid_until": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"uses_per_patron": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"clear_total_uses": {
"type": "boolean",
"default": false
},
"discount_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"clear_uses_per_patron": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
cypher-mcp
https://github.com/lonniev/cypher-mcp
2/7 registries