Add line item
POST
/orders/{orderId}/itemsAdd a line item to an order
Parameters
orderIdpathrequiredOrder ID
Request Body
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
Line item added successfully
Code Samples
No code examples available for this operation.