Create an order
Creates a pending order for a cart of listed products and returns the hosted checkout link to send the buyer. Requires the orders:write scope.
All items must share one currency, and stock for finite products is reserved for the order’s lifetime — an order that expires releases it again.
Authorizations
A store API key, sent as Authorization: Bearer <key>.
A key looks like tbrn_live_ followed by 48 hex characters, e.g. tbrn_live_4f2a...c91b. Mint one in the Taberna dashboard under Developers → API Keys, tick the scopes the integration needs, and copy it there and then — the full value is shown once and only its hash is stored, so a lost key is replaced rather than recovered.
One key belongs to one store and carries a fixed scope set. Send it from a server, never from a browser: it can create orders and invoices and read every order the store has.
Headers
Body
Response
The order, with the checkout link to send the buyer. A replayed Idempotency-Key returns the original order with this same status.
A newly created order and the link to send the buyer.
Where the order is in its lifecycle. pending — created, waiting for the buyer to pay. completed — paid in full; any digital delivery has been released. partial — funds arrived but fell short of the locked quote. expired — the payment window closed without full payment, and any reserved stock went back to the pool. A freshly created order is always pending.
pending, completed, partial, expired "pending"