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>. Live keys are prefixed tbrn_live_. Keys are minted per store in the dashboard with an explicit scope set.
Headers
Optional replay guard, 1–255 characters. Retrying a create with a key already used by this store returns the original resource instead of making a second one.
1 - 255Body
1 - 20 elements^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$2048204810 <= x <= 129600Response
The order, with the checkout link to send the buyer. A replayed Idempotency-Key returns the original order with this same status.
Public short id — the value that appears in checkout links.
pending, completed, partial, expired ISO-8601 timestamp in UTC.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$