Docs that match the API
Several pages disagreed with the API, or with each other. They now describe what the API sends.
What changed
- One ordering story. REST carts and the MCP
ordertool are two ways into the same ordering. Pages that said ordering was MCP only, or that every confirm happens on a Layout page, are corrected. - Every error code. Every error code lists each code with its status, the endpoints that send it, and what to do.
- Failure codes. Every value
failure_codetakes is listed in Failure codes and in theOrderschema. An older order that stored a code outside the list now reads asUNKNOWN, and one that storedPAYMENT_DECLINEDreads asCARD_DECLINED. - Webhook payload. Event types said
order.cartedcarries items, modifiers and a pickup time. It carries the store's name, the item count and the total, like every event. Onlyorder.failedadds a reason,order.failure_code. - Smaller corrections. A wrong verification code is
401 bad_code. The request field that asks for the consent link back isconnectDelivery. Provisioning returns no credential, a build grant lasts 15 minutes unless you refresh it, and a build grant cannot readGET /v1/orders/:id. - MCP tools. MCP tools has every tool's input and output JSON Schema and which session may call what. The same contract is machine-readable at mcp-tools.json.
Why it matters
Code written from a page that described something the API does not do would fail.
What to do
If you parsed order.carted for items or a pickup time, read the cart with GET /v1/carts/:id instead. If you generate types from openapi.json or mcp-tools.json, regenerate them.
Breaking changes
None. Apart from the failure_code mapping above, the API's behaviour did not change.