update_cart_item
Change the quantity of a product in a cart. Provide the cart ID, product ID, and new quantity to update the line item.
Instructions
Overwrite the quantity of a product line in a cart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | Unique cart identifier. | |
| request | Yes | Input contract for the ``update_cart_item`` tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Line items currently in the cart. | |
| cart_id | Yes | Unique cart identifier. | |
| created_at | Yes | UTC timestamp of cart creation. | |
| updated_at | Yes | UTC timestamp of the last modification. |