Skip to main content

Add line item

POST/orders/{orderId}/items
Add a line item to an order

Parameters

orderIdpathrequired
string

Order 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.

Try It

Path Parameters
Order ID
Request Body
Type of line item
Line item name
Line item description
Unit price in integer minor units (e.g. 2500 = £25.00)
Quantity (defaults to 1)
Ticket-specific details
Product-specific details
Fee-specific details
Custom metadata