Skip to content

Confirm a booking

POST /api/bookings/v4/{id}/confirm

Confirms a booking with a selected courier and pickup date. This triggers the payment process and submits the booking to the chosen courier.

Before confirming, ensure the booking has full sender and receiver details. Use update booking to add any missing information.

ParameterTypeRequiredDescription
idintegerYesThe unique booking ID.
FieldTypeRequiredDescription
courierstringYesCourier identifier from the quotes response (e.g. "allied", "couriers_please", "tnt").
pickup-datestringYesDesired pickup date in YYYY-MM-DD format. Must be one of the dates from the courier’s pickup_dates array.
pickup-timestringNoPickup time window in HH:MM-HH:MM format (e.g. "09:00-17:00"). Optional — pass the value from the courier’s pickup_time field if provided.
tierintegerNoFrequent rate tier identifier. Only applicable for couriers that offer frequent rates (e.g. Couriers Please, Aramex).
Terminal window
curl -X POST \
-H "Api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"courier": "allied",
"pickup-date": "2025-08-18"
}' \
https://www.transdirect.com.au/api/bookings/v4/12345678/confirm
Terminal window
curl -X POST \
-H "Api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"courier": "couriers_please",
"pickup-date": "2025-08-18",
"tier": 1
}' \
https://www.transdirect.com.au/api/bookings/v4/12345678/confirm

A successful confirmation returns a 204 No Content status with no response body.

After confirmation, retrieve the booking to check its updated status and obtain the connote (consignment note number) once the courier has confirmed.

When selecting a courier, use the identifier returned in the quotes object from the create booking response. Common courier identifiers include:

IdentifierCourier
alliedAllied Express
couriers_pleaseCouriers Please
tntTNT / FedEx
aramexAramex
hunterHunter Express
northlineNorthline
tollToll
Status codeDescription
400Bad request — missing required fields or invalid courier/date.
401Unauthorised — invalid or missing credentials.
404Not found — no booking exists with the given ID, or it belongs to another member.
422Unprocessable entity — the booking is missing required details (e.g. sender/receiver address) or has already been confirmed.