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.

Schema

Input Schema

{
    "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"
        }
    }
}
Verified Stores
0

No verified stores expose this tool yet.

Weekly UCP Report

Get the agentic commerce digest every Monday

Real adoption data, ecosystem trends, new spec versions, and the stores that broke or recovered this week. Read by founders and engineers building the next generation of commerce.

Free forever No spam Unsubscribe anytime

View a sample report →

Weekly UCP Report
Issue #51 · Sep 21, 2026
+664
new verified stores
Verified rate
Latest spec
Cart capability