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. Can take up to 90 seconds.
What it does
Brings a saved cart back: re-prices every store and returns the cart with what changed at each. Show the changes to the shopper before they approve.Inputs
Returns
Example call
Notes
- A change’s
outcomeisready,changed,checking,needs_input,unavailable, orfailed.beforeis the total the shopper last saw, andnowis the total the store reads now. - A change with
reason: replace_account_cartwaits on the shopper. Once they agree, call again withreplacenaming thatline_keyand itsholds.token.