Australia Post#

Shippy provides the following feature support for Australia Post.

  • Rates
  • Tracking
  • Labels

API Credentials#

To use Australia Post, you'll need to connect to their API. There are two different APIs to pick from, depending on your requirements.

Postage Assessment Calculator (Rates only)#

If you want to just fetch rates for shipments, you can use the Postage Assessment Calculator (PAC) API.

  1. Go to Australia Post Developers website and register for an API Key.
  2. Use the API Key from Australia Post as the apiKey with the Shippy carrier.
use verbb\shippy\carriers\AustraliaPost;

new AustraliaPost([
    'isProduction' => false,
    'apiKey' => '•••••••••••••••••••••••••••••••••••',
]);

Shipping and Tracking (All)#

A more involved API that handles all features. You will be required to have an Australia Post account.

  1. Go to Australia Post Developers website and register for an API Key.
  2. Provide your Australia Post (eParcel) account number and complete the registration process.
  3. Use the API Key from Australia Post as the apiKey with the Shippy carrier.
  4. Use the Password from Australia Post as the password with the Shippy carrier.
  5. Use the Account Number from Australia Post as the accountNumber with the Shippy carrier.
use verbb\shippy\carriers\AustraliaPost;

new AustraliaPost([
    'isProduction' => false,
    'apiKey' => '•••••••••••••••••••••••••••••••••••',
    'password' => '•••••••••••••••',
    'accountNumber' => '•••••••••',
]);