Create Order
Creates a new order that can be used to complete a headless checkout.
API scope required: orders.create
Authorizations
Body
- EVM
- Solana
- Fiat
- Single Line Item - Collection Locator · object
- Single Line Item - Product Locator · object
- Single Line Item - Token Locator · object
- Multiple Line Items - Collection Locators · object[]
- Multiple Line Items - Token Locators · object[]
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.
- Email
- Wallet
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.
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 "en-US"
Determines whether an order is officially created or whether it simply returns what an order would look like. Use draft to review results prior to committing. Draft orders are not currently persisted and will not be queryable via APIs. Use create (default) to place the order and proceed to payment/fulfillment.
draft, create 
