DHLFreight (Sweden)seRESTActive

DHL Freight API Farm (REST, Sweden)

DHL Freight's Sweden-specific REST hub for booking, pricing, validation, and shipping documents on Sweden domestic and Sweden-originating international road freight. Wholly separate portal, base URLs, and credentials from MyDHL Express, DHL eCommerce Americas, and DHL Parcel DE.

API Farm is DHL Freight's REST hub for the Sweden market — domestic Swedish road freight plus Sweden-originating international transports. It is a wholly separate surface from MyDHL Express, DHL eCommerce Americas, and DHL Post & Parcel Germany: a different developer portal at dhlpaket.se/dashboard/services/api-farm, different base URLs (api.freight-logistics.dhl.com for production, test-api.freight-logistics.dhl.com for sandbox), and a different authentication model. The DHL Group Developer Portal at developer.dhl.com explicitly redirects Sweden traffic here for domestic and Sweden-originating international transports. Authentication uses a per-application GUID API key (the client-key). After signing up, you create an Organisation, register an Application, and DHL shows the client-key exactly once — save it securely because it cannot be retrieved later. The key must be sent in the request header on every call. Production keys require a separate registration at admin.freight-logistics.dhl.com plus an Implementation Request; DHL Freight will not activate production access until at least one validated test request per API is recorded. The surface is broad. TransportInstruction creates road-freight orders, PickupRequest books pickups, and Print returns labels, return labels, CMRs, and other documents as Base64-encoded PDFs. PriceQuote returns prices and supports contract pricing when combined with e-ID account-number validation. Product, AdditionalService, PostalCodes, Terminal, and TimeTable describe what is sellable, allowed, and routable on a given lane, while ServicePointLocator and HomeDeliveryLocator power last-mile UX. Tracking is intentionally out of scope here: DHL delegates tracking to the global Shipment Tracking - Unified API at developer.dhl.com. Cancellations are not API-accessible — you cancel in your own system and phone DHL Customer Service at 0771-345 345. For more than 10,000 shipments per day DHL recommends traditional EDI rather than API Farm.

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

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

Last reviewed: 2026-04-26