Create a cart
Creates a new cart and adds inventory items to it in a single request. Holds the inventory for the customer.
- `AssignedSeat` variants always require `quantity: 1` (each seat is unique)
- `GeneralAdmission` and `Extra` variants support `quantity > 1`
- All items must be from the same event + occurrence.
Authentication
X-TT-API-Keystring
API Key authentication via header
Request
This endpoint expects an object.
items
Response
Cart created successfully.
id
Cart ID
expiresAt
UTC timestamp when the cart hold expires and inventory is released. Clients should display a countdown timer and warn users before expiration.
items
Items currently in the cart (held inventory). Does NOT include fees, protection, or credits — see receiptLines for those.
receiptLines
Server-ordered display lines for receipt rendering. Iterate in sequence. Always includes SubtotalLine. Conditionally: VoucherLine, ProtectionLine.
total
protection
Protection covering all items. Null if not added.
totalTaxes