Create order
POST
/ordersCreate a new order with optional line items
Request Body
accountId*stringAccount ID that owns this order
customerIdstringCustomer ID (optional for guest checkout)
currencystringCurrency code (ISO 4217)
channelstringSales channel (web, mobile, pos, api)
isGuestCheckoutbooleanWhether this is a guest checkout
customerNotesstringNotes from the customer
internalNotesstringInternal notes (not visible to customer)
metadataobjectCustom metadata
expiresInMinutesintegerOrder expiry time in minutes (defaults to 15)
type*"ticket" | "product" | "addon" | "fee" | "tax" | "discount"Type of line item
name*stringLine item name
descriptionstringLine item description
unitPrice*integerUnit price in integer minor units (e.g. 2500 = £25.00)
quantityintegerQuantity (defaults to 1)
ticketDetailsobjectTicket-specific details
productDetailsobjectProduct-specific details
feeDetailsobjectFee-specific details
metadataobjectCustom metadata
Response
Order created successfully
Code Samples
No code examples available for this operation.