UCP Checker

apply_voucher

Apply a voucher code to a cart. The voucher value is in öre (e.g. 10000 = 100 kr). Returns the updated cart with the voucher applied.

No store we check lists this tool.

Input schema

As a store we check lists it in tools/list. Not a tool the spec's MCP binding defines at release 2026-08-25.

inputSchema
{
    "type": "object",
    "required": [
        "cartId",
        "code",
        "value"
    ],
    "properties": {
        "code": {
            "type": "string",
            "description": "the voucher code"
        },
        "rules": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "optional list of rule expressions for when the voucher applies"
        },
        "value": {
            "type": "integer",
            "description": "the voucher value in \u00f6re (e.g. 10000 = 100 kr)"
        },
        "cartId": {
            "type": "string",
            "description": "the base62 cart id"
        },
        "description": {
            "type": "string",
            "description": "optional description of the voucher"
        }
    }
}

Explore protocol data