{{title}}

In this tutorial, we’ll learn how to track a parcel or consignment within the Australia Post delivery network using the Delivery Choices API.


The following steps will be completed:

  1. Retrieve current tracking status for a parcel or consignment using the unique tracking identifier.

Notes:


Authentication

Some Delivery Choice services accept personal user data and require OAuth authentication for access, however the Delivery Choice API used in this tutorial only requires HTTP Basic authentication.


Step 1: Retrieve current tracking status of a parcel using its unique tracking identifier

In this step, we’ll call the the tracking service to retrieve the current tracking status for a parcel within the Australia Post delivery network using its unique tracking identifier.

Input parameters required

The code above generates the following HTTP request:

The response contains