POST /api/public/orders/{orderId}/cancel cancels an order that has not been paid. Unlike refund it never moves money: if the customer has already paid, nothing happens and you get 400 with errorCode order_paid — refund the order instead.
This page needs JavaScript. The same content is available as Markdown: /changelog/2026-09-15-cancel-order.md. Every document for agents is listed in /llms.txt.