API integration with myDHLFreight
You can create shipments in myDHLFreight in two ways:
- With a specific product code
- Without specifying a product upfront
Key Points for Integration
- Follow the steps in Getting started to get access to API documentation and create an API key in Sandbox
- When sending a request without a product code, leave productCode blank, example “productCode”: “”
- PackageType should be CLL, example “packageType”: “CLL”,
- Add the following under additionalinformation with your DHL account number:
“additionalInformation”: [{“code”: “Export”,“stringValue”: “123456”,“numericValue”: 1}
- Log on to myDHLFreight and follow the instruction on DHL eCom Sweden MyDHLFreight
| Title | Download request |
|---|---|
| TransportInstruction request with product code | Download |
| TransportInstruction request without product code | Download |