Skip to content

API Farm

API Farm is DHL Freight’s integration hub for REST APIs used for booking, validation, price quotes and shipping processes. Getting started Start with the Integration guide to understand your use case, then continue with Technical setup to begin testing. Register in API Farm to access Swagger, credentials and testing tools. Not sure which API you … Continued

Integration guide

Integration guide Follow these steps before submitting your implementation request. Step 1 – What do you want to do? Create shipments / send transport orders Get shipping prices / options Step 2 – Select your integration approach Full API integration Full system-to-system integration for complete automation. myDHLFreight (simplified API integration) Simplified setup using TransportInstruction API … Continued

Technical setup

To begin testing DHL APIs, you need to register in API Farm and create an application. This allows you to: – access API credentials – test your integration in sandbox – test API endpoints in Swagger or Postman 1. Registration – Sandbox (test environment) Use the sandbox environment to develop and test your integration. No … Continued

APIs per DHL Product

This page gives you a quick overview of which APIs are recommended, commonly used or optional for each DHL Freight product. Use the lists below to understand how the APIs connect to the products you are integrating with, both domestic and international. For detailed product rules, codes, limitations, weight and size requirements, please refer to … Continued

API Overview

Create and Book Shipments TransportInstruction API Submit complete shipment data for creation of transport orders; response can be used with Print API. PickupRequest API Book pickups and receive an accepted, moved, or rejected response including a booking number. Print API Generate shipping labels, return labels, CMRs and other transport documents in Base64‑encoded PDF. Pricing and … Continued

AdditionalService API

What is it? The AdditionalService API lets you see which extra services you can add to a DHL shipment (like insurance, delivery options, etc.). What can you do with it? Check which additional services are available for your shipment. Get the codes you need for handling, pickup, transport instructions, and routing. Make sure you don’t … Continued

e-ID API

What is it? The e-ID API is used to validate DHL Freight account numbers. For example, when you want to request quotes for a specific account number. Why use it? Needed for some DHL APIs, like PriceQuote, to get your contract prices. Ensures only authorized users can access your account information. You can apply for … Continued

HomeDeliveryLocator API

What is it? The HomeDeliveryLocator API is used with the “DHL Home Delivery” product. It helps you find out which extra services are available for a specific home delivery, based on the recipient’s postal code and sometimes the DHL account number. What can you do with it? Check which additional services you can offer for … Continued

Pallet API

What is it? The Pallet API is for DHL Freight Sweden’s pallet exchange system. It helps you keep track of your pallet account. What can you do with it? See your current pallet balance. View your latest pallet transactions. Why use it? Makes it easy to manage and monitor your pallet exchanges with DHL.

PickupRequest API

What is it? The PickupRequest API is used to book a pickup for most DHL Freight products. You send the pickup details, and the API tells you if the booking is accepted, moved to another date, or rejected. How does it work? Accepted: You get a booking number (save this for cancellations or tracking). Moved: … Continued