Priority order code examples
Priority orders are automatically booked by Shippit for pick up and delivery on the same day. Priority and on demand orders remain on the new orders page until dismissed, either by clicking the label
button within the UI or by making a GET
label request using the API.
{
"order": {
"courier_type": "priority",
"delivery_address": "1 Test",
"delivery_postcode": "2009",
"delivery_state": "NSW",
"delivery_suburb": "Pyrmont",
"authority_to_leave": "Yes",
"delivery_date": "2023-09-01",
"delivery_window": "09:00-10:00",
"receiver_contact_number": "0411000444",
"retailer_invoice": "SO-123",
"parcel_attributes": [{
"qty": 1,
"weight": 4.1,
"length": 0.2,
"depth": 0.1,
"width": 0.9
},
{
"qty": 1,
"weight": 2.1,
"length": 0.1,
"depth": 0.1,
"width": 0.1
}
],
"product_attributes": [{
"quantity": 2,
"title": "Blue Hat",
"price": 21.90
},
{
"quantity": 1,
"title": "Red Hat",
"price": 10.95
}
],
"user_attributes": {
"email": "john.smith@shippit.com",
"mobile": "0411000000",
"first_name": "John",
"last_name": "Smith"
}
}
}
Quotes for a 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"
}
}
Priority order with group order code example
{
"order": {
"courier_type": "priority",
"delivery_address": "1 Test",
"delivery_postcode": "2009",
"delivery_state": "NSW",
"delivery_suburb": "Pyrmont",
"authority_to_leave": "Yes",
"delivery_date": "2023-09-01",
"delivery_window": "09:00-10:00",
"receiver_contact_number": "0411000444",
"retailer_invoice": "SO-123",
"parcel_attributes": [{
"qty": 1,
"weight": 4.1,
"length": 0.2,
"depth": 0.1,
"width": 0.9
},
{
"qty": 1,
"weight": 2.1,
"length": 0.1,
"depth": 0.1,
"width": 0.1
}
],
"product_attributes": [{
"quantity": 2,
"title": "Blue Hat",
"price": 21.90
},
{
"quantity": 1,
"title": "Red Hat",
"price": 10.95
}
],
"user_attributes": {
"email": "john.smith@shippit.com",
"mobile": "0411000000",
"first_name": "John",
"last_name": "Smith"
},
"group_order": {
"id": "GOhIyYRuDwxuK"
}
}
}