cart_update
Alias for update_cart (full replacement): sets the cart to exactly the provided line_items, creating a cart when no id is given.
Schema
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object"
}
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"required": [
"item",
"quantity"
],
"properties": {
"item": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Product SKU."
}
}
},
"quantity": {
"type": "number"
}
}
}
}
}
}
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 #53 · Oct 5, 2026
+664
new verified stores
Verified rate
Latest spec
Cart capability