Skip to main content
Connect to https://mcp.opencommerce.sh/mcp with your Commerce SDK credentials as Authorization: Bearer <YOUR_CLIENT_ID>:<YOUR_CLIENT_SECRET>. See Connect your agent. Behavior: Changes state. After a timeout, read get_cart before you try again.

What it does

Sets one item’s quantity in a store’s line of a saved cart. A quantity of 0 takes the item out. Use it only when the shopper asked. The store re-prices the line at the next resume_cart.

Inputs

Returns

Example call

Notes

  • On cart_changed, call get_cart and redo the edit on its version.