DHL Express#

Shippy provides the following feature support for DHL Express.

  • Rates
  • Tracking
  • Labels

API Credentials#

To use DHL Express, you'll need to connect to their API.

  1. Go to DHL Express and login to your account.
  2. From the Apps section, follow the prompts to create a new app.
  3. From the list of available APIs, select (as appropriate)
    • DHL Express - MyDHL API
    • Shipment Tracking - Unified
  4. Copy the API Key from DHL Express as the clientId with the Shippy carrier.
  5. Copy the Username from DHL Express as the username with the Shippy carrier.
  6. Copy the Password from DHL Express as the password with the Shippy carrier.
  7. Copy the Account Number from DHL Express as the accountNumber with the Shippy carrier.
use verbb\shippy\carriers\DHLExpress;

new DHLExpress([
    'isProduction' => false,
    'clientId' => '•••••••••••••••••••••••••••••••••••',
    'username' => '••••••••••••••••',
    'password' => '••••••••••••••••',
    'accountNumber' => '••••••••••••••••',
]);