Create order
POST /orders
Creates a new order. Orders can be linked to bookings for fulfilment.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Request body for creating or updating an order. When imported_from is Woocommerce, an existing order with the same order_id for this member is updated rather than creating a duplicate.
object
External order number from the originating platform
Example
WC-1234Platform the order was imported from (e.g. Woocommerce, Shopify, eBay)
Example
WoocommerceID of the Transdirect booking to link to this order
Example
12345678Courier identifier selected for this order
Example
alliedWhen the order was purchased on the external platform
Example
2026-02-15 09:00:00Sale price from the external platform in AUD
Example
99.95When the order was paid on the external platform
Example
2026-02-15 09:05:00Name of the buyer
Example
Jane DoeEmail of the buyer
Example
jane@example.comDelivery address details
object
Example
Jane DoeExample
jane@example.comExample
0498765432Example
456 Collins Street, Melbourne VIC 3000Example
{ "order_id": "WC-1234", "imported_from": "Woocommerce", "transdirect_order_id": 12345678, "selected_courier": "allied", "purchased_time": "2026-02-15 09:00:00", "sale_price": 99.95, "paid_time": "2026-02-15 09:05:00", "buyer_name": "Jane Doe", "buyer_email": "jane@example.com", "delivery": { "name": "Jane Doe", "email": "jane@example.com", "phone": "0498765432", "address": "456 Collins Street, Melbourne VIC 3000" }}Responses
Section titled “ Responses ”Order created
object
Internal order record identifier
Example
5001Associated Transdirect booking ID
Example
12345678Member ID that owns this order
Example
10001Order status
Example
pendingExternal order number from the originating platform (e.g. WooCommerce order number)
Example
WC-1234Summary of goods in the order
Example
ElectronicsRaw goods data dump from the originating platform
Platform the order was imported from (e.g. Woocommerce, Shopify, eBay)
Example
WoocommerceISO 8601 timestamp of when the order was imported
Example
2026-02-15T10:30:00+11:00When the order was purchased on the external platform
Example
2026-02-15 09:00:00Sale price from the external platform in AUD
Example
99.95The courier selected for this order’s shipment
Example
alliedThe quoted courier price for this order in AUD
Example
18.75When the order was paid on the external platform
Example
2026-02-15 09:05:00Name of the buyer
Example
Jane DoeEmail of the buyer
Example
jane@example.comDelivery address details
object
Delivery recipient name
Example
Jane DoeDelivery contact email
Example
jane@example.comDelivery contact phone
Example
0498765432Delivery street address
Example
456 Collins Street, Melbourne VIC 3000ISO 8601 timestamp of the last update
Example
2026-02-15T14:05:32+11:00Validation error
object
Error code or type
Example
validation_errorHuman-readable error message
Example
The sender postcode field is required.Unauthorized
object
Error code or type
Example
validation_errorHuman-readable error message
Example
The sender postcode field is required.