update_item_quantity
Change the quantity of a line item in a cart. Use quantity=0 to remove the item. Returns the updated cart state.
Schema
Input Schema
{
"type": "object",
"required": [
"cartId",
"itemId",
"quantity"
],
"properties": {
"cartId": {
"type": "string",
"description": "the base62 cart id"
},
"itemId": {
"type": "integer",
"description": "the line item id (numeric, e.g. 1, 2, 3)"
},
"quantity": {
"type": "integer",
"description": "the new quantity (0 removes the item)"
}
}
}
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.
Weekly UCP Report
Issue #51 · Sep 21, 2026
+664
new verified stores
Verified rate
Latest spec
Cart capability
