Skip to main content
PATCH
Update Order

Path Parameters

orderId
string
required

Body

application/json
locale
enum<string>

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:
Klingon,
de-DE,
en-US,
es-ES,
fr-FR,
it-IT,
ja-JP,
ko-KR,
pt-PT,
ru-RU,
th-TH,
tr-TR,
uk-UA,
vi-VN,
zh-CN,
zh-TW
payment
object
recipient
object

Recipient of the items being purchased. You can specify a wallet address, email, or payment method id, either explicitly or using a 'locator'. If you pass an email, 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 'missing-recipient', until you pass one.

Response

200 - application/json

Order updated successfully

id
string
required

The License Terms ID

Example:

"1"

terms
object
required

The PIL terms details as per retrieved from story

Example:
disabled
boolean
default:false

If true, the license terms will be disabled. Effectively preventing future mints with this license.

Example:

false

Example: