New Zealand Post#

Shippy provides the following feature support for New Zealand Post.

  • Rates
  • Tracking
  • Labels

API Credentials#

To use New Zealand Post, you'll need to connect to their API.

  1. Go to New Zealand Post and login to your account. Complete the commercial access form.
  2. Request API access for an application.
  3. Once access have been granted, click “add a new application”.
  4. Include OAuth 2.0 grant type "Client Credentials Grant".
  5. Navigate to your application.
  6. Copy the Client ID from New Zealand Post as the clientId with the Shippy carrier.
  7. Copy the Client Secret from New Zealand Post as the clientSecret with the Shippy carrier.
use verbb\shippy\carriers\NewZealandPost;

new NewZealandPost([
    'isProduction' => false,
    'clientId' => '••••••••••••••••',
    'clientSecret' => '•••••••••••••••••••••••••••••••••••',
]);