Skip to content

Pickup availability

POST /api/quotes/pickup-availability

Returns available pickup dates and time windows for a courier and sender location — useful before confirming a booking.

Requires API key (or basic auth on v4).

FieldTypeRequiredDescription
courierstringYesCourier string_id (e.g. "allied", "tnt_road_express").
senderobjectYesSender location used to resolve pickup windows.
FieldTypeRequiredDescription
suburbstringNoSender suburb.
statestringNoState code (e.g. NSW).
postcodestringNo4-digit AU postcode.
typestringNo"business" or "residential".
Terminal window
curl -X POST \
-H "Api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"courier": "allied",
"sender": {
"suburb": "SYDNEY",
"state": "NSW",
"postcode": "2000",
"type": "business"
}
}' \
https://www.transdirect.com.au/api/quotes/pickup-availability
{
"pickupDates": ["2025-08-27", "2025-08-28", "2025-08-29"],
"pickupTimes": [
{ "from": "14:00", "to": "18:00" }
],
"fromTime": "14:00",
"toTime": "18:00",
"earliest": "2025-08-27"
}

Spec-driven carriers may also return granular fields: readyFromTimes, lastAvailableTimes, todayReadyFromTimes, and pickupWindow (operating hours, cutoff, min window minutes).

FieldTypeDescription
pickupDatesstring[]Selectable dates YYYY-MM-DD
pickupTimesobject[]Windows with from / to (HH:MM)
fromTime / toTimestring | nullEarliest ready-from / latest available
earlieststring | nullEarliest available date
errorstringPresent when availability could not be determined

Use a returned date as pickup-date (hyphenated) on confirm.