Headless Checkout
Create Order
Creates a new order that can be used to complete a headless checkout.
POST
/
2022-06-09
/
orders
Authorizations
Body
application/json
Recipient of the items being purchased. Crossmint will create a custodial wallet address for the user on the fly, that they can later log in to. If no recipient is passed, an order will be created with the status 'requires-recipient', until you pass one.
Locale for the checkout, in IETF BCP 47. It impacts the email receipt language. Ensure your UI is set to the same language as specified here. Throws an error if passed an invalid language.
Available options:
en-US
, es-ES
, fr-FR
, it-IT
, ko-KR
, pt-PT
, ja-JP
, zh-CN
, zh-TW
, de-DE
, ru-RU
, tr-TR
, uk-UA
, th-TH
, vi-VN
, Klingon