Create checkout
POST/v1/:channel/checkout
Creates a new checkout session with stock reservations.
Each item must include expected_unit_price; if the live price differs
the server rejects the request to prevent price mismatch.
Set auto_redirect: true to receive an HTTP 302 to the hosted checkout UI
(server-side form submit). API / JS clients should keep this false and
navigate to checkout_ui_url themselves.
Request
Responses
- 200
- 302
- 400
- 401
- 404
- 409
Checkout created
Redirect to hosted checkout UI (only when auto_redirect=true)
Invalid request parameters or body
Missing or invalid API key
Channel, product, category, collection, or checkout not found
Price mismatch or stock conflict