Skip to main content

Update order

PATCH/orders/{orderId}
Update an existing order

Parameters

orderIdpathrequired
string

Order ID

Request Body

customerIdstringNew customer ID
customerNotesstringUpdated customer notes
internalNotesstringUpdated internal notes
metadataobjectUpdated metadata (merged with existing)
extendExpirybooleanExtend the order expiry time
addItemsobject[]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
updateItemsobject[]Line items to update
itemId*stringLine item ID
updates*object
removeItemsstring[]Line item IDs to remove

Response

Order updated successfully

Code Samples
No code examples available for this operation.

Try It

Path Parameters
Order ID
Request Body
New customer ID
Updated customer notes
Updated internal notes
Updated metadata (merged with existing)
Extend the order expiry time
Line items to add to the order
Line items to update
Line item IDs to remove