Skip to content

Get an order

GET /api/orders/{id}

Returns the details of a specific order owned by the authenticated member.

ParameterTypeRequiredDescription
idintegerYesThe Transdirect order primary key (id), not the external order_id
Terminal window
curl -X GET \
-H "Api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
https://www.transdirect.com.au/api/orders/5001

A successful response returns a 200 status code with the order object:

{
"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"
}
FieldTypeDescription
idintegerUnique Transdirect order id
order_idstringExternal order number from the source system
transdirect_order_idinteger | nullLinked booking id when converted
transdirect_order_statusstringOrder status — see statuses
imported_fromstringIntegration source
imported_timestringISO 8601 import time
deliveryobjectNested delivery contact (name, email, phone, address)
buyer_name / buyer_emailstringBuyer details
goods_summary / goods_dumpstringGoods summary / raw dump
sale_price / courier_pricestring | numberCommercial values
selected_courierstring | nullCourier string_id when set
last_updatedstringLast update timestamp
StatusDescription
pendingOrder imported but not yet ready to book.
ready_to_bookOrder has the details needed for a booking.
bookedOrder has been converted to a confirmed booking.
manually_dispatchedOrder was fulfilled outside the Transdirect booking flow.
cancelledOrder has been cancelled.
deletedOrder has been marked deleted (not returned by list).
removedOrder has been removed from the active list.
Status codeMeaning
401Unauthorised — invalid credentials or API key
403Order does not exist or does not belong to your account