List orders
Endpoint
Section titled “Endpoint”GET /api/ordersReturns orders imported into Transdirect for the authenticated member (excludes deleted orders). Hard limit: 50 most recent by default sort.
Authentication
Section titled “Authentication”Requires authentication via API key or basic auth.
Query parameters
Section titled “Query parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
since | string | No | Only orders imported on or after this datetime (Y-m-d H:i:s). |
sort | string | No | Column name to order by ascending (e.g. imported_time). Default is imported_time descending. An unrecognised column is ignored and the default ordering is used. |
Request
Section titled “Request”curl -X GET \ -H "Api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ https://www.transdirect.com.au/api/ordersResponse
Section titled “Response”A successful response returns a 200 status code with an array of order objects. When none match, the API returns 404.
[ { "id": 5001, "transdirect_order_id": null, "transdirect_member_id": 12345, "transdirect_order_status": "pending", "order_id": "WC-1042", "goods_summary": "Widget Pro x2", "goods_dump": null, "imported_from": "Woocommerce", "imported_time": "2025-08-15T00:30:00+00:00", "purchased_time": "2025-08-15 10:00:00", "sale_price": "49.95", "selected_courier": null, "courier_price": "0", "paid_time": "2025-08-15 10:05:00", "buyer_name": "John Smith", "buyer_email": "john@example.com.au", "delivery": { "name": "John Smith", "email": "john@example.com.au", "phone": "0498765432", "address": "42 George Street" }, "last_updated": "2025-08-15T00:30:00+00:00" }]Response fields
Section titled “Response fields”| Field | Type | Description |
|---|---|---|
id | integer | Transdirect order primary key |
order_id | string | External order number |
transdirect_order_id | integer | null | Linked booking id when converted |
transdirect_order_status | string | Order status |
imported_from | string | Integration source |
imported_time | string | ISO 8601 import time |
delivery | object | Nested name, email, phone, address |
buyer_name / buyer_email | string | Buyer details |
sale_price / courier_price | string | number | Commercial values |
selected_courier | string | null | Courier string_id if selected |
last_updated | string | Last update timestamp |
Error responses
Section titled “Error responses”| Status code | Meaning |
|---|---|
401 | Unauthorised — invalid credentials or API key |
404 | No orders found for the member / filter |