Surface details
- API name
- DHL Freight API Farm (Sweden)
- Authentication
- Per-application GUID API key issued by API Farm and sent in the request header (client-key)
- Production base URL
- https://api.freight-logistics.dhl.com
- Sandbox base URL
- https://test-api.freight-logistics.dhl.com
- Sandbox notes
- Sign up at test-admin.freight-logistics.dhl.com, create an Organisation, register an Application — the GUID client-key is shown exactly once and cannot be retrieved later. Production access requires a separate registration at admin.freight-logistics.dhl.com plus an Implementation Request, and DHL Freight will not activate production until at least one validated test request per API is on file.
Frequently asked questions
How do I get an API key for DHL Freight Sweden API Farm?
Register at test-admin.freight-logistics.dhl.com, confirm the email from apifarm@dhl.com, create an Organisation, register an Application, and DHL will show your GUID client-key exactly once — store it securely. A DHL customer number is not required for sandbox testing but is required before going live.
How do I cancel a shipment booked through DHL Freight API Farm?
You cannot cancel transports via API or EDI. Cancel the order inside your own system and phone DHL Customer Service at 0771-345 345 with the booking or shipment number to cancel on the DHL side.
When should I use traditional EDI instead of API Farm for DHL Freight Sweden?
DHL Freight recommends EDI for high-volume integrations of more than 10,000 shipments per day. For smaller-volume or interactive flows (booking from a checkout, on-demand label printing, ad-hoc price quotes) the REST APIs in API Farm are the supported path.
Does API Farm cover shipment tracking too?
No. API Farm covers booking, pricing, validation, and document generation for DHL Freight Sweden. Tracking is delegated to the DHL Group Shipment Tracking - Unified API at developer.dhl.com, which covers parcels, freight, eCommerce, letters, and Express across DHL divisions.
Related concepts
Sibling carrier surfaces
- DHL Express MyDHL API (REST, global)
- DHL eCommerce Solutions Americas API (REST)
- DHL Post & Parcel Germany API (REST, Germany)
Tooling and references
- DHL Freight Sweden — API Farm
DHL Freight's Sweden-specific REST hub for booking, pricing, validation, and shipping documents on Sweden domestic and Sweden-originating international road freight. Separate portal, base URLs, and credentials from MyDHL Express, DHL eCommerce Americas, and DHL Parcel DE.
Sources
- DHL Freight Sweden — API Farm overview
- DHL Freight Sweden — API Farm Technical Setup
- DHL Freight APIs (Group portal, redirects Sweden traffic here)
Last reviewed: 2026-04-26