You're viewing a demo portfolio

Join the waitlist
PRSM

update_cart_item

Active

Tool of Kifly — Agentic Commerce & Payments

declared in 1.0.0

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
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

Kifly — Agentic Commerce & Payments

1/7 registries
View full server →
update_cart_item — Kifly — Agentic Commerce & Payments — PRSM MCP