update_cart_item
ActiveTool of Kifly — Agentic Commerce & Payments
Requires `checkout:write` scope. Change the quantity of a line item in an open cart, or remove it entirely. Set `quantity` to 0 to remove the item. Get the `item_id` from `get_cart` or the `cart` field in the `add_to_cart` response. Returns the updated cart state. **The per-item quantity ceiling applies here too — call `get_platform_limits` to check the current limit.** Exceeding it returns 400 `QUANTITY_EXCEEDS_LIMIT`.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cart_id",
"item_id",
"quantity"
],
"properties": {
"cart_id": {
"type": "string",
"description": "Cart ID from create_cart"
},
"item_id": {
"type": "string",
"description": "Item ID from get_cart or add_to_cart response"
},
"quantity": {
"type": "integer",
"minimum": 0,
"description": "New quantity (0 removes the item)"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Kifly — Agentic Commerce & Payments
1/7 registries