DHL Parcel DE Returns Virtual Sandbox
Virtual API for generating DHL return labels and querying receiver locations.
The DHL Parcel DE Returns API allows business customers to programmatically create return labels on demand and determine receiver locations. This service supports standard RESTful interactions for order processing and location lookups, providing a reliable interface for integrating return logistics into e-commerce platforms.
Use cases:
Use this sandbox to validate return label generation workflows, test payload structures for order creation, verify receiver location lookup responses, and handle authentication flows including API keys and OAuth2 tokens before integrating with DHL production systems.
General
{
"amp": {
"env": "test",
"name": "dhl-api-core",
"rev": "04",
"version": "2.2.0"
}
}Orders
| Query Parameter Name | Example |
|---|---|
labelType | QR_LABEL |
{
"receiverId": "deu",
"customerReference": "Kundenreferenz",
"shipmentReference": "Sendungsreferenz",
"shipper": {
"name1": "Absender Retoure Zeile 1",
"name2": "Absender Retoure Zeile 2",
"name3": "Absender Retoure Zeile 3",
"addressStreet": "Charles-de-Gaulle Str.",
"addressHouse": 20,
"postalCode": 53113,
"city": "Bonn",
"email": "Max.Mustermann@dhl.local",
"phone": "+49 123456789"
},
"itemWeight": {
"uom": "kg",
"value": 1
},
"itemValue": {
"currency": "EUR",
"value": 10
}
}{
"internationalShipmentNo": "pgMblhghijomQzQ7vv",
"label": {
"b64": "jbrlmJiY5LbPQAaFdvWQvNrU2tpDtvdjRuVBlORX"
},
"qrLabel": {
"b64": "5U0nBvsouT4jtRn1LeCrO2KzYginbuOL50SAFJOu"
},
"qrLink": "https://ugly-cross-contamination.biz/",
"routingCode": "rORhDO4F40OuMzoocjlGmpIuR",
"shipmentNo": "lVMnO3rFzadvhYkbqh",
"sstatus": {
"detail": "Created",
"status": 201,
"title": "Created"
}
}{
"title": "Bad Request",
"status": 400,
"detail": "Bad Request - The request could not be understood by the server due to malformed syntax."
}{
"title": "Unauthorized",
"status": 401,
"detail": "Unauthorized - The client could not be authenticated since the request lacks the required HTTP headers or the credentials are just wrong."
}{
"title": "Forbidden",
"status": 403,
"detail": "Forbidden - The client has successfully been authenticated but could not be authorized for the particular request."
}{
"title": "Unprocessable",
"status": 422,
"detail": "Unprocessable Entity - unable to process the content type of the request entity."
}{
"title": "Too Many Requests",
"status": 429,
"detail": "Too Many Requests - You have exceeded the maximum number of requests per time unit."
}Locations
| Query Parameter Name | Example |
|---|---|
countryCode | ita |
postalCode | 04472-4981 |
receiverId | 23082117-3d59-495b-8461-47644c10d25b |
billingNumber | 5 |
maxResult | 50728557 |
[
{
"additionalEmailNote": "Cross-platform",
"billingNumber": "8",
"companyAddress": {
"addressHouse": "667",
"addressStreet": "Heath Park",
"city": "Burke",
"email": "Wilmer.Runolfsson@hotmail.com",
"name1": "Greg Shields",
"name2": "Pam Murray",
"name3": "Rachel Greenholt-Waelchi",
"phone": "+17042804103",
"postalCode": "12578",
"state": "Wisconsin"
},
"companyManagement": "Alexander Jacobi",
"companyName": "Howell LLC",
"contactEmail": "Esteban_Hane20@gmail.com",
"court": "Rippinworth",
"ekp": "6",
"numberRange": "99999698404C",
"receiverAddress": {
"addressHouse": "7516",
"addressStreet": "Tillman Street",
"city": "Franeckitown",
"email": "Jaylin_Baumbach31@hotmail.com",
"name1": "Miranda Cronin",
"name2": "Ben Bode DVM",
"name3": "Mrs. Cecelia Blanda DVM",
"phone": "+15144256355",
"postalCode": "31488-2419",
"state": "Nebraska"
},
"receiverId": "c953c71a-7e0c-4302-a964-a14a951fa1b7",
"salesTaxIdentificationNumber": "Jwou4clknoT",
"shipperCountry": "bgr"
},
{
"additionalEmailNote": "Organized",
"billingNumber": "5",
"companyAddress": {
"addressHouse": "23186",
"addressStreet": "The Meadows",
"city": "Lake Elenorborough",
"email": "Joana_Lehner-Homenick@yahoo.com",
"name1": "Lori Schuppe",
"name2": "Dr. Dewey Rohan",
"name3": "Laurence Collins II",
"phone": "+12656953059",
"postalCode": "81099-7142",
"state": "Connecticut"
},
"companyManagement": "Lydia Stark",
"companyName": "Roob Inc",
"contactEmail": "Erick_Predovic@hotmail.com",
"court": "Hahnville",
"ekp": "3",
"numberRange": "99999954152C",
"receiverAddress": {
"addressHouse": "651",
"addressStreet": "Westfield Road",
"city": "Kelliworth",
"email": "Alexane55@yahoo.com",
"name1": "Bessie Roob",
"name2": "Ernesto MacGyver",
"name3": "Whitney Tillman",
"phone": "+16312692810",
"postalCode": "60048",
"state": "Massachusetts"
},
"receiverId": "35cc2565-65c9-4609-b21c-6d6a50ba7aca",
"salesTaxIdentificationNumber": "xfG10YSSINw",
"shipperCountry": "svk"
},
{
"additionalEmailNote": "Visionary",
"billingNumber": "0",
"companyAddress": {
"addressHouse": "96549",
"addressStreet": "Ashtyn Center",
"city": "Cordiachester",
"email": "Santino86@yahoo.com",
"name1": "Adam Koch IV",
"name2": "Nadine Greenfelder",
"name3": "George Strosin",
"phone": "+13293200813",
"postalCode": "79451-3641",
"state": "California"
},
"companyManagement": "Marco Leffler",
"companyName": "Emmerich - Huels",
"contactEmail": "Macy.Funk@yahoo.com",
"court": "Owenland",
"ekp": "9",
"numberRange": "99999036113C",
"receiverAddress": {
"addressHouse": "3493",
"addressStreet": "Amber Mission",
"city": "Ransomhaven",
"email": "Maritza.Rempel@hotmail.com",
"name1": "Cecil Schaefer",
"name2": "Edward Wisoky",
"name3": "Alexandra Considine",
"phone": "+18365874774",
"postalCode": "37781",
"state": "Ohio"
},
"receiverId": "58bd638d-2d59-4ff0-9d00-b346d3c340a3",
"salesTaxIdentificationNumber": "uaLF4ZD7Xdl",
"shipperCountry": "cze"
},
{
"additionalEmailNote": "Face to face",
"billingNumber": "1",
"companyAddress": {
"addressHouse": "9966",
"addressStreet": "Kozey Haven",
"city": "Downers Grove",
"email": "Mose.Jerde@hotmail.com",
"name1": "Damon Weber DVM",
"name2": "Cristina Marquardt",
"name3": "Dr. Saul Morissette",
"phone": "+19559516276",
"postalCode": "78617",
"state": "Oklahoma"
},
"companyManagement": "Doris O'Kon",
"companyName": "Murphy - Olson",
"contactEmail": "Zoe24@gmail.com",
"court": "Hawthorne",
"ekp": "7",
"numberRange": "99999964669C",
"receiverAddress": {
"addressHouse": "402",
"addressStreet": "W Bridge Street",
"city": "Chaunceycester",
"email": "Noe_Schmitt@gmail.com",
"name1": "Dr. Richard Ernser II",
"name2": "Lonnie Durgan",
"name3": "Ms. Carolyn Powlowski MD",
"phone": "+13677431014",
"postalCode": "16672-6506",
"state": "South Dakota"
},
"receiverId": "a632ce5d-cf96-4ff5-b2e7-aad7df26e837",
"salesTaxIdentificationNumber": "q154Mt5mBni",
"shipperCountry": "grc"
},
{
"additionalEmailNote": "Enhanced",
"billingNumber": "7",
"companyAddress": {
"addressHouse": "316",
"addressStreet": "Stoney Lane",
"city": "Pasco",
"email": "Tanner.Murray55@hotmail.com",
"name1": "Guadalupe Mayer I",
"name2": "Miss Sylvia Bartoletti",
"name3": "Felipe Wiza",
"phone": "+18788562134",
"postalCode": "00597",
"state": "Hawaii"
},
"companyManagement": "Juana Roberts",
"companyName": "Fay, Bechtelar and Bode",
"contactEmail": "Colt.Gerlach42@gmail.com",
"court": "Port Antonetteshire",
"ekp": "4",
"numberRange": "99999633669C",
"receiverAddress": {
"addressHouse": "335",
"addressStreet": "Witting Estates",
"city": "North Floyd",
"email": "Gilbert.Schamberger38@hotmail.com",
"name1": "Chad Ruecker",
"name2": "Janet Christiansen I",
"name3": "Tracey Muller",
"phone": "+16959646838",
"postalCode": "39378",
"state": "Alaska"
},
"receiverId": "7e952c99-e1eb-4caf-96c6-ed0f171dfdef",
"salesTaxIdentificationNumber": "TIyLdNuIsUX",
"shipperCountry": "aut"
},
{
"additionalEmailNote": "Horizontal",
"billingNumber": "6",
"companyAddress": {
"addressHouse": "7659",
"addressStreet": "Keaton Mills",
"city": "East Hartford",
"email": "Tracey_Kiehn@hotmail.com",
"name1": "Brandy Pfannerstill I",
"name2": "Jo Thiel Sr.",
"name3": "Aubrey Bergnaum",
"phone": "+12434494945",
"postalCode": "28974",
"state": "Indiana"
},
"companyManagement": "Janice Price",
"companyName": "Sipes - Heathcote",
"contactEmail": "Dock_White21@gmail.com",
"court": "Port Caspertown",
"ekp": "5",
"numberRange": "99999036021C",
"receiverAddress": {
"addressHouse": "9186",
"addressStreet": "Bogan Knolls",
"city": "Fritschburgh",
"email": "Newton80@gmail.com",
"name1": "Miss Tricia Reilly-Ritchie",
"name2": "Sophia Howe DDS",
"name3": "Karl Klein",
"phone": "+18515838960",
"postalCode": "20459-7835",
"state": "Illinois"
},
"receiverId": "c84e60be-fc64-4bfc-b675-c882d28a497a",
"salesTaxIdentificationNumber": "pJIo2gB1rJh",
"shipperCountry": "hrv"
},
{
"additionalEmailNote": "Upgradable",
"billingNumber": "6",
"companyAddress": {
"addressHouse": "9660",
"addressStreet": "Adrien Mills",
"city": "Caseyville",
"email": "Dorian.Bahringer48@yahoo.com",
"name1": "Genevieve Padberg MD",
"name2": "Muriel Medhurst PhD",
"name3": "Lola Volkman",
"phone": "+16087199788",
"postalCode": "44441-4042",
"state": "Hawaii"
},
"companyManagement": "Elsa Beer",
"companyName": "Weimann - Wiza",
"contactEmail": "Evans.Hauck@yahoo.com",
"court": "Abagailfield",
"ekp": "6",
"numberRange": "99999123467C",
"receiverAddress": {
"addressHouse": "24182",
"addressStreet": "McLaughlin Fords",
"city": "North Ericberg",
"email": "Anna.Osinski@hotmail.com",
"name1": "Irving Lehner",
"name2": "Dr. Randall Ankunding",
"name3": "Margie Metz-Streich",
"phone": "+16645355340",
"postalCode": "29433",
"state": "Kansas"
},
"receiverId": "ce7bd019-cade-4c07-a3ea-bcc8ee0e5d3c",
"salesTaxIdentificationNumber": "nEOI77Cs4Ip",
"shipperCountry": "nld"
},
{
"additionalEmailNote": "Configurable",
"billingNumber": "9",
"companyAddress": {
"addressHouse": "85688",
"addressStreet": "Bashirian Cliffs",
"city": "New Prudence",
"email": "Cristobal.Schaefer@gmail.com",
"name1": "Matt Johnston DVM",
"name2": "Eugene Strosin",
"name3": "Christopher Lesch",
"phone": "+14719326187",
"postalCode": "01469-8167",
"state": "New Hampshire"
},
"companyManagement": "Jessie Lemke",
"companyName": "Little - Walker",
"contactEmail": "Edna72@yahoo.com",
"court": "Port Georgianna",
"ekp": "7",
"numberRange": "99999963374C",
"receiverAddress": {
"addressHouse": "5256",
"addressStreet": "Champlin Spur",
"city": "Bartonberg",
"email": "Etha_Bernier45@hotmail.com",
"name1": "Roman Brekke III",
"name2": "Harry Bode",
"name3": "Deanna Schultz",
"phone": "+16265250897",
"postalCode": "84149",
"state": "Arkansas"
},
"receiverId": "545a0682-929c-4256-b604-6635f976a270",
"salesTaxIdentificationNumber": "1yG3kYumVd1",
"shipperCountry": "fin"
},
{
"additionalEmailNote": "Cross-platform",
"billingNumber": "4",
"companyAddress": {
"addressHouse": "415",
"addressStreet": "Reginald Pines",
"city": "Boston",
"email": "Verner.Bosco9@gmail.com",
"name1": "Mamie Collier",
"name2": "Leon Morar",
"name3": "Trevor Macejkovic",
"phone": "+17186435809",
"postalCode": "47509",
"state": "New Jersey"
},
"companyManagement": "Barry Jacobs",
"companyName": "Schuster and Sons",
"contactEmail": "Miller_Gislason84@yahoo.com",
"court": "Bergstromhaven",
"ekp": "4",
"numberRange": "99999728905C",
"receiverAddress": {
"addressHouse": "24593",
"addressStreet": "Ernser Via",
"city": "North Otilia",
"email": "Yoshiko1@hotmail.com",
"name1": "Roosevelt Littel",
"name2": "Elsie Abbott",
"name3": "Sheldon Haley",
"phone": "+16789033617",
"postalCode": "84159",
"state": "Indiana"
},
"receiverId": "b0ec6e30-52bd-4349-892e-5c68d9b6d066",
"salesTaxIdentificationNumber": "sYl92DIM4nl",
"shipperCountry": "pol"
},
{
"additionalEmailNote": "Automated",
"billingNumber": "7",
"companyAddress": {
"addressHouse": "1415",
"addressStreet": "Pink Gardens",
"city": "North Braeden",
"email": "Hilma_White63@hotmail.com",
"name1": "Elisa Rath",
"name2": "Floyd McClure",
"name3": "Stacy Koepp",
"phone": "+18476625991",
"postalCode": "04553",
"state": "New Jersey"
},
"companyManagement": "Jonathon McKenzie",
"companyName": "Smith - Kerluke",
"contactEmail": "Lucy_Hamill@gmail.com",
"court": "New Lincoln",
"ekp": "6",
"numberRange": "99999741906C",
"receiverAddress": {
"addressHouse": "877",
"addressStreet": "S 7th Street",
"city": "Clemensstad",
"email": "Tierra.Legros10@hotmail.com",
"name1": "Debra Strosin V",
"name2": "Pete Keebler",
"name3": "Ray Jenkins",
"phone": "+17392826631",
"postalCode": "78157-6291",
"state": "New Mexico"
},
"receiverId": "f133465d-f255-4811-9edf-84322eb57800",
"salesTaxIdentificationNumber": "a2GKD6QGcBI",
"shipperCountry": "cyp"
}
]{
"title": "Bad Request",
"status": 400,
"detail": "Bad Request - The request could not be understood by the server due to malformed syntax."
}{
"title": "Unauthorized",
"status": 401,
"detail": "Unauthorized - The client could not be authenticated since the request lacks the required HTTP headers or the credentials are just wrong."
}{
"title": "Forbidden",
"status": 403,
"detail": "Forbidden - The client has successfully been authenticated but could not be authorized for the particular request."
}{
"title": "Unprocessable",
"status": 422,
"detail": "Unprocessable Entity - unable to process the content type of the request entity."
}{
"title": "Too Many Requests",
"status": 429,
"detail": "Too Many Requests - You have exceeded the maximum number of requests per time unit."
}