DHL Express #

Connect to the DHL Express API #

  1. Go to DHL Express XML Developer Portal and register for API access.
  2. Copy the API Username from DHL Express and paste in the API Username field in Postie.
  3. Copy the API Password from DHL Express and paste in the API Password field in Postie.
  4. Copy the Account Number from DHL Express and paste in the Account Number field in Postie.

Services #

DHL Express doesn't offer a set list of services for you to enable or disable as required. Services are automatically returned based on the matching criteria with your shipping origin and destination.

Configuration #

Add the following code to your configuration file under the providers array, as per the below. Note that to disable certain services, simply omit them from the services array.

'providers' => [
    'dhlExpress' => [
        'name' => 'DHL Express',

        'settings' => [
            'username' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
            'password' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
            'account' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
            'useTestEndpoint' => true,
        ],
    ],
]

Get started with Postie

Available for Craft 3. Get it from the plugin store.