DHL Shipment Label Virtual Sandbox
Generate and manage shipping labels for DHL Global Forwarding services.
The DHL Shipment Label API allows developers to programmatically generate shipping labels for global forwarding operations. It supports the creation of transport documentation required for international logistics, ensuring compliance with DHL's shipping standards and data requirements.
Use this hosted sandbox to simulate DHL Shipment Label APIs without authentication, API keys, or extra dependencies. Point your code or SDK to the Beeceptor base URL, preferably through an environment variable or feature flag, and switch back to the production API when ready.
This keeps your integration code consistent across local development, QA, demos, and production.
Use cases:
Use this sandbox to validate label generation requests, verify payload structure for shipment details, test error handling for invalid address or weight inputs, and confirm the successful retrieval of shipping documentation before integrating with production logistics workflows.
General
POST
{
"acceptContentType": "application/octet-stream",
"additionalInformation": "Priority Shipment",
"housebillNumber": "EDCJ6U1",
"mimeType": "pdf",
"shipmentID": "S0753090032"
}{
"shipmentLabel": {
"document": "A2iHqaCb5ahRVZYwPbECh0d2PaOEeSWsLsPqwps6OeH6",
"metaData": {
"mimeType": "pdf"
}
}
}{
"api-correlation-id": "0f0b0c59-e47f-4793-ab4b-65be34568942",
"details": "Bad Request. Missing housebillNumber JSON input parameter",
"status": 400,
"title": "Bad Request"
}{
"api-correlation-id": "fc553a1c-65fd-4a45-b5cf-fc9ba2f4b5c8",
"details": "Expired Access Token",
"status": 401,
"title": "Unauthorized"
}{
"api-correlation-id": "c1eee0cf-ec87-449e-b888-4b5fae018130",
"details": "Shipment not found",
"status": 404,
"title": "Not Found"
}{
"api-correlation-id": "f7cb1b83-54df-4e00-8770-89d29f7171d7",
"details": "Number of API requests for a given API key/token has exceeded allocated rate limit. Please try again later.",
"status": 429,
"title": "Too Many Requests"
}{
"api-correlation-id": "849f03bc-23dc-4c71-8b45-f1b63bf743f9",
"details": "The server encountered an unexpected condition that prevented it from fulfilling the request. Please try again later",
"status": 500,
"title": "Internal Server Error"
}dhllogisticsshippinglabelstransportation