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:
Notes:
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.
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