Get courier quotes for a shipment
POST /api/v5/bookings
With an api-key, boxes the items, fans out to every courier the calling member has enabled, applies member discounts/rules, and inserts a bookings row with status=new. Without an api-key, runs publicly-visible couriers only and is limited to 10 requests/hour per IP.
Authorizations
Section titled “Authorizations ”- ApiKeyAuth
- None
Request Body required
Section titled “Request Body required ”object
object
object
object
object
object
object
Examples
Sydney to Sydney cartons
{ "sender": { "address": "1 Market Street", "company_name": "Sender Pty Ltd", "email": "sender@example.com", "name": "Sender Contact", "phone": "0290000000", "postcode": "2000", "suburb": "Sydney", "state": "NSW", "country": "AU", "type": "business", "tailgate": false }, "receiver": { "address": "25 George Street", "company_name": "Receiver Pty Ltd", "email": "receiver@example.com", "name": "Receiver Contact", "phone": "0291111111", "postcode": "2000", "suburb": "Sydney", "state": "NSW", "country": "AU", "type": "business", "tailgate": false }, "items": [ { "description": "Carton", "length": 30, "width": 20, "height": 15, "weight": 2, "quantity": 1, "sku": "DEMO-CARTON-1" }, { "description": "Carton", "length": 40, "width": 30, "height": 20, "weight": 5, "quantity": 1, "sku": "DEMO-CARTON-2" } ], "declared_value": 250, "insured_value": 0, "description": "Demo Sydney carton quote", "referrer": "api-demo", "requesting_site": "api-worker-demo", "tailgate_pickup": false, "tailgate_delivery": false, "options": { "authority_to_leave": false, "disable_cache": false }}Responses
Section titled “ Responses ”Quote list (sorted by total ascending)
object
object
object
Map of carrier/service key to the quote returned for it.
object
object
object
object
object
object
object
object
object
The sender timezone’s UTC offset in minutes when the quote was built.
Epoch ms at which today stops being an offered pickup date. Absent when there is none to expire.
Pickup-window rules driving the ready-from / last-available time picker.
object
The sender timezone’s UTC offset in minutes when the quote was built.
Epoch ms at which today stops being an offered pickup date. Absent when there is none to expire.
Selectable “ready from” pickup times (HH:mm), capped before the collection cutoff. The FULL business-day list — same-day narrowing is applied client-side per selected date via pickup_same_day_ready_from.
Selectable “last available” pickup times (HH:mm) at the uncapped business close.
Earliest “ready from” time (HH:mm) selectable when the pickup date is today; the picker floors same-day pickups to this. Absent (or null) when today is not an offered pickup date.
Internal rate-card code used to price this quote.
Available insurance/service tiers for this quote.
object
Per-carrier errors for carriers that could not be quoted.
object
Delivery (destination) address on the quote.
object
Pickup (origin) address on the quote.
object
Selected pickup window as a pair of time strings [from, to].
Carrier consignment (connote) number, once lodged, or null.
Weight the carrier charged on, in kilograms (kg).
Weight scanned by the carrier, in kilograms (kg).
Special handling instructions for the consignment.
Booking status, e.g. “new”/“pending_payment” (quote) or a paid/confirmed state.
Timestamp the quote/booking was last updated, as an ISO 8601 datetime.
Instructions for the driver at pickup, or null.
Whether a tailgate vehicle was requested at pickup.
Whether a tailgate vehicle was requested at delivery.
object
Informational, non-bookable carrier notices (e.g. a carrier whose quote API is temporarily down), shown as their own rows in the quote list.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Arbitrary JSON value (string, number, boolean, null, array, or object).
object
Arbitrary JSON value (string, number, boolean, null, array, or object).
Arbitrary JSON value (string, number, boolean, null, array, or object).
object
object
object
object
Validation error
object
object
Arbitrary JSON value (string, number, boolean, null, array, or object).
Validation paths whose rejected values were substituted by server-side module settings rather than supplied by the caller.
object
Invalid api key
object
object
Arbitrary JSON value (string, number, boolean, null, array, or object).
Validation paths whose rejected values were substituted by server-side module settings rather than supplied by the caller.
object
Member not found
object
object
Arbitrary JSON value (string, number, boolean, null, array, or object).
Validation paths whose rejected values were substituted by server-side module settings rather than supplied by the caller.
object
Rate-limited
object
object
Arbitrary JSON value (string, number, boolean, null, array, or object).
Validation paths whose rejected values were substituted by server-side module settings rather than supplied by the caller.
object
Quote reference data unavailable
object
object
Arbitrary JSON value (string, number, boolean, null, array, or object).
Validation paths whose rejected values were substituted by server-side module settings rather than supplied by the caller.