Skip to main content

Create order

POST/orders
Create 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)
itemsobject[]Initial line items to add to the order
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.

Try It

Request Body
Account ID that owns this order
Customer ID (optional for guest checkout)
Currency code (ISO 4217)
Sales channel (web, mobile, pos, api)
Whether this is a guest checkout
Notes from the customer
Internal notes (not visible to customer)
Custom metadata
Order expiry time in minutes (defaults to 15)
Initial line items to add to the order