Create an order
Create an order with tickets for one ticket type. Requires an `Idempotency-Key` header. The money is collected outside Tixxy; every ticket carries the regular Tixxy fee (not for test tokens).
Create an order with tickets for one ticket type.
Requires an Idempotency-Key header. The money is collected outside
Tixxy; every ticket carries the regular Tixxy fee (not for test tokens).
Authorization
http In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Create an order for one ticket type. Answers to the event's form fields are keyed by field key; ticket answers are given per ticket, in order.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/orders" \ -H "Content-Type: application/json" \ -d '{ "ticket_type": "string", "quantity": 1, "booker": { "first_name": "string", "last_name": "string", "email": "user@example.com" } }'{ "id": "string", "object": "order", "order_number": "string", "external_reference": "string", "event": "string", "livemode": true, "status": "string", "payment_status": "string", "payment_method": "string", "source": "api", "currency": "eur", "subtotal": 0, "discount": 0, "administration_fee": 0, "payment_method_fee": 0, "total": 0, "total_excl_vat": 0, "vat": 0, "promocode": "string", "language": "string", "booker": { "first_name": "string", "last_name": "string", "email": "string", "language": "string" }, "answers": [ { "field": "string", "value": "string", "display_value": "string" } ], "tickets": [ { "id": "string", "object": "ticket", "ticket_number": "string", "kind": "product", "order": "string", "event": "string", "ticket_type": "string", "livemode": true, "status": "string", "currency": "eur", "price": 0, "price_excl_vat": 0, "vat_rate": 0, "tixxy_fee": 0, "checked_in": true, "checked_in_at": "string", "personalisation_complete": true, "holder": { "name": "string", "email": "string" }, "answers": [ { "field": "string", "value": "string", "display_value": "string" } ], "issued_at": "string", "created_at": "string", "updated_at": "string" } ], "completed_at": "string", "cancelled_at": "string", "created_at": "string", "updated_at": "string"}List orders GET
List orders, newest first. Filters: `event`, `status`, `payment_status`, `external_reference`, `updated_since`, `created_since`. Expand `tickets` to include them. Live tokens only see live orders, test tokens only test orders.
Retrieve an order GET
Retrieve an order. Expand `tickets` to include them.