update_cart_item
Modify existing items in your shopping cart
Update the details of items already in your shopping cart, including changing quantities, modifying product properties, or updating item-specific configurations.
Use this tool when customers need to:
Change the quantity of items in their cart
Update product variants (size, color, etc.)
Modify custom properties or configurations
Adjust item-specific details before checkout
Features:
Granular control over individual cart items
Quantity adjustments (increase or decrease)
Product variant and property modifications
Maintains cart integrity during updates
Flow:
Call 'search_products' tool to find products by search term.
Call 'get_product_details' tool to get product variants and images.
Call 'add_item_to_cart' tool to create new cart with item
Call 'update_cart_item' tool to updatem item in the cart eq. quantity
Call 'create_checkout_url' tool to generate a checkout URL for the cart.
Requires an existing cart with items to modify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| line_item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | Yes | ||
| message | No | ||
| success | Yes |