Use the DHL Express MyDHL API to retrieve service and product capabilities for an origin-destination pair before booking a shipment

domain: developer.dhl.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate using HTTP Basic Auth with your DHL API key and secret as username and password in the Authorization header
  2. GET /mydhlapi/products with query params originCountryCode, originPostalCode, destinationCountryCode, destinationPostalCode, weight, and plannedShippingDateAndTime
  3. Parse the products array in the response; each element contains a productCode, productName, deliveryCapabilities.estimatedDeliveryDateAndTime, and breakdown of pricing
  4. Filter products by desired transit time or service feature flags such as deliveryCapabilities.totalTransitDays
  5. Use the selected productCode when constructing the POST /mydhlapi/shipments booking request body
  6. Validate that the origin-destination pair supports the desired service level before committing to a booking, especially for remote or restricted areas

Known gotchas

Related routes

Rate and create an international shipment using the DHL Express MyDHL REST API
logistics/shipping · 6 steps · unrated
Create an international shipment and generate a waybill using the DHL Express MyDHL REST API
developer.dhl.com · 6 steps · unrated
Retrieve DHL Express shipment tracking via the MyDHL API
dhl.com · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans