You're viewing a demo portfolio

Join the waitlist
PRSM

cypher_update_coupon

Active

Tool of cypher-mcp

declared in 3.4.2

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
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

cypher-mcp

https://github.com/lonniev/cypher-mcp

2/7 registries
View full server →
cypher_update_coupon — cypher-mcp — PRSM MCP