Orders
2 endpoints
/{account_slug}/{event_slug}/orders
list orders
Returns a paginated list of all orders for the specified event. Each order includes customer details, reference number, and amount.
Requires authentication
Path parameters
| Name | Description |
|---|---|
account_slug string Required |
The unique slug identifier for your Tito account |
event_slug string Required |
The unique slug identifier for the event |
Query parameters
| Name | Description |
|---|---|
page integer |
Page number for pagination (default: 1) |
Response fields
| Field | Description |
|---|---|
orders array |
|
orders[].id integer |
Unique identifier for the order |
orders[].customer object |
Customer details for the order |
orders[].customer.first_name string |
First name of the person who placed the order |
orders[].customer.last_name string |
Last name of the person who placed the order |
orders[].customer.email string |
Email address of the person who placed the order |
orders[].reference string |
Unique reference code for the order |
orders[].currency string |
ISO 4217 currency code |
orders[].amount integer |
Total amount in cents |
orders[].created_at string |
Timestamp when the order was created |
orders[].updated_at string |
Timestamp when the order was last updated |
meta object |
|
meta.lookup_mode string |
Current lookup mode (live or test) |
meta.pagination object |
|
meta.pagination.page integer |
Current page number |
meta.pagination.items integer |
Number of items per page |
meta.pagination.pages integer |
Total number of pages |
meta.pagination.count integer |
Total number of orders |
Error responses
- 401 – unauthorized - no bearer token provided or token is invalid
- 403 – forbidden - API token does not have access to this event
Example request
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.pro.tito.io/{account_slug}/{event_slug}/orders
Example response
{
"orders": [
{
"id": 123456,
"name": "John Smith",
"email": "john@example.com",
"reference": "ABCD-1234",
"amount": {
"cents": 15000,
"currency_iso": "USD"
},
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
},
{
"id": 123457,
"name": "Jane Doe",
"email": "jane@example.com",
"reference": "EFGH-5678",
"amount": {
"cents": 30000,
"currency_iso": "USD"
},
"created_at": "2025-01-16T14:00:00Z",
"updated_at": "2025-01-16T14:00:00Z"
}
],
"meta": {
"lookup_mode": "live",
"pagination": {
"page": 1,
"items": 20,
"pages": 1,
"count": 2
}
}
}
/{account_slug}/{event_slug}/orders/{id}
show order
Returns detailed information about a specific order, including customer details, invoice, and associated tickets.
Requires authentication
Path parameters
| Name | Description |
|---|---|
account_slug string Required |
The unique slug identifier for your Tito account |
event_slug string Required |
The unique slug identifier for the event |
id string Required |
The unique identifier for the order. Can be a numeric ID or a secret identifier token (e.g. order-abc123) |
Response fields
| Field | Description |
|---|---|
id integer |
Unique identifier for the order |
reference string |
Unique reference code for the order |
test_mode boolean |
Whether this is a test order |
state string |
Current state of the order |
payment_state string |
Payment state of the order |
customer object |
Customer details for the order |
customer.first_name string |
First name of the person who placed the order |
customer.last_name string |
Last name of the person who placed the order |
customer.email string |
Email address of the person who placed the order |
customer.phone_number string |
Phone number of the person who placed the order |
customer.company_name string |
Company name for the order |
customer.tax_id string |
Tax ID / VAT number for the order |
customer.address object |
Billing address for the order |
customer.address.address string |
|
customer.address.city string |
|
customer.address.state_province_region string |
|
customer.address.postal_code string |
|
customer.address.country string |
|
customer.address.country_code string |
|
created_at string |
Timestamp when the order was created |
updated_at string |
Timestamp when the order was last updated |
currency string |
ISO 4217 currency code |
amount integer |
Total amount in cents |
amount_refunded integer |
Amount refunded in cents |
invoice object |
Invoice details for the order |
invoice.number string |
|
invoice.due_at string |
|
invoice.paid boolean |
|
invoice.line_items array |
|
invoice.line_items[].description string |
|
invoice.line_items[].quantity integer |
|
invoice.line_items[].amount integer |
Amount in cents |
invoice.subtotal integer |
Subtotal in cents |
invoice.taxes array |
|
invoice.taxes[].name string |
|
invoice.taxes[].amount integer |
|
invoice.discount integer |
Discount in cents |
invoice.total integer |
Total amount in cents |
responses object |
Custom field responses for the order |
tickets array |
Tickets associated with this order |
tickets[].id integer |
|
tickets[].reference string |
|
tickets[].state string |
|
tickets[].name string |
|
tickets[].email string |
|
tickets[].phone_number string |
|
tickets[].ticket_type object |
|
tickets[].ticket_type.id integer |
|
tickets[].ticket_type.name string |
|
tickets[].responses object |
|
tickets[].created_at string |
|
tickets[].updated_at string |
Error responses
- 401 – unauthorized - no bearer token provided or token is invalid
- 403 – forbidden - API token does not have access to this event
- 404 – not found - order ID does not exist or is not accessible
Example request
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.pro.tito.io/{account_slug}/{event_slug}/orders/123
Example response
{
"id": 123456,
"name": "John Smith",
"email": "john@example.com",
"ticket_ids": [
1001,
1002,
1003
]
}