Quoting code examples
The Quote API returns a quote when given a destination location and parcel attributes.
{
"quote": {
"dropoff_postcode": "2000",
"dropoff_state": "NSW",
"dropoff_suburb": "Sydney",
"parcel_attributes": [
{
"qty": 1,
"weight": 1
}
]
}
Quotes for an on demand or priority order:
{
"quote": {
"dropoff_postcode": "2000",
"dropoff_state": "NSW",
"dropoff_suburb": "Sydney",
"parcel_attributes": [
{
"qty": 1,
"weight": 1
}
],
"delivery_date": "2014-09-18T00:00:00.000Z",
"delivery_window": "07:00-10:00",
"delivery_window_desc": "7AM-10AM",
"price": 24.24,
"courier_type": "Bonds"
}
}