Skip to content

Get an order

GET /api/orders/{id}

Returns the details of a specific order.

ParameterTypeRequiredDescription
idintegerYesThe 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,
"order_number": "WC-1042",
"source": "woocommerce",
"status": "pending",
"receiver_name": "John Smith",
"receiver_email": "john@example.com.au",
"receiver_phone": "0498765432",
"receiver_address": "42 George Street",
"receiver_suburb": "SYDNEY",
"receiver_postcode": "2000",
"receiver_state": "NSW",
"receiver_country": "AU",
"items": [
{
"description": "Widget Pro",
"quantity": 2,
"weight": 1.5
}
],
"created_at": "2025-08-15T10:30:00+1000",
"booking_id": null
}
FieldTypeDescription
idintegerUnique order ID
order_numberstringThe order number from the external system
sourcestringIntegration source (e.g. woocommerce, shopify, ebay, paypal, csv)
statusstringOrder status. See statuses below.
receiver_namestringRecipient’s full name
receiver_emailstringRecipient’s email address
receiver_phonestringRecipient’s phone number
receiver_addressstringDelivery street address
receiver_suburbstringDelivery suburb
receiver_postcodestringDelivery postcode
receiver_statestringDelivery state or territory
receiver_countrystringDelivery country code
itemsarrayArray of item objects with description, quantity, and weight
created_atstringISO 8601 timestamp of when the order was imported
booking_idinteger or nullThe associated booking ID if converted to a booking, otherwise null
StatusDescription
pendingOrder imported but not yet ready to book.
ready_to_bookOrder has the details needed for a booking and is ready to be converted.
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.
removedOrder has been removed from the active list.
Status codeMeaning
401Unauthorised — invalid credentials or API key
404Not found — the order does not exist or does not belong to your account