Update Shopify cart
update_cartUpdate a Shopify-owned cart through the configured Cart/Storefront MCP endpoint. Owner-bound: requires the cart_access_token returned by create_cart, so only the session that created a cart can change it. With UCP endpoints, treat updates as full-state PUT semantics; with the confirmed standard Storefront MCP endpoint, Commonlands maps line_items to Shopify add_items, update_items to quantity changes, and remove_line_ids to explicit removals. Quantity 0 in update_items removes a line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| cart | Yes | ||
| meta | No | ||
| cart_access_token | Yes | Owner credential returned by create_cart for this cart id. |