POST /v1/orders points to carts

APIBreaking

What changed

POST /v1/orders is still retired and still answers 410, before it reads any credential. Its error code is now use_carts, and the message points to POST /v1/carts as well as MCP.

HTTP/1.1 410 Gone

{ "error": { "code": "use_carts", "message": "…" } }

Why it matters

The old code said ordering had moved to MCP only. Carts are on REST too, so there are two ways to build an order, not one.

What to do

Build with POST /v1/carts, or over MCP. If your code switches on moved_to_mcp, accept use_carts as well. Both are in Every error code.

Breaking changes

Yes, for code that matched moved_to_mcp exactly: the code is now use_carts. The status and the error shape are unchanged.

All changes