Orders
Orders are one of the main concepts in Ticketmatic. These operations allow you to create, update and read orders. You can add and remove tickets to orders and add payments.
A users currently active basket (or cart) is also handled using an (unconfirmed) order.
Operations
- Get a list of orders GET /api/1/{accountname}/orders
- Get a single order GET /api/1/{accountname}/orders/{id}
- Create a new order POST /api/1/{accountname}/orders
- Update an order PUT /api/1/{accountname}/orders/{id}
- Delete an order DELETE /api/1/{accountname}/orders/{id}
- Batch operations POST /api/1/{accountname}/orders/batch
- Delete orders DELETE /api/1/{accountname}/orders
- Confirm an order POST /api/1/{accountname}/orders/{id}
- Split tickets and/or products from an order into a new one. POST /api/1/{accountname}/orders/{id}/split
- Add tickets to order POST /api/1/{accountname}/orders/{id}/tickets
- Modify tickets in order PUT /api/1/{accountname}/orders/{id}/tickets
- Remove tickets from order DELETE /api/1/{accountname}/orders/{id}/tickets
- Add products to order POST /api/1/{accountname}/orders/{id}/products
- Modify products in order PUT /api/1/{accountname}/orders/{id}/products
- Remove products from order DELETE /api/1/{accountname}/orders/{id}/products
- Add payments to order POST /api/1/{accountname}/orders/{id}/payments
- Add refund for payment for order POST /api/1/{accountname}/orders/{id}/refunds
- Get the log history for an order GET /api/1/{accountname}/orders/{id}/logs
- [DEPRECATED] Export tickets to PDF POST /api/1/{accountname}/orders/{id}/tickets/pdf
- Export tickets and/or vouchercodes to PDF POST /api/1/{accountname}/orders/{id}/pdf
- Send the delivery e-mail for the order POST /api/1/{accountname}/orders/{id}/tickets/emaildelivery
- Send the payment instruction e-mail POST /api/1/{accountname}/orders/{id}/tickets/emailpaymentinstruction
- Create a payment request for an online payment for the order POST /api/1/{accountname}/orders/{id}/paymentrequest
- Cancel the outstanding payment request for the order DELETE /api/1/{accountname}/orders/{id}/paymentrequest
- Get the PDF for a document for the order GET /api/1/{accountname}/orders/{id}/documents/{documentid}/{language}
- Import historic orders POST /api/1/{accountname}/orders/import
- Reserve order IDs POST /api/1/{accountname}/orders/import/reserve
- Purge orders POST /api/1/{accountname}/orders/purge