ReturnOrder
A return order describing the shipper, shipment details and the receiver for which a return label should be created.
Properties
| Name | Type | Description |
|---|---|---|
| receiverId | object | |
| customerReference | string | The customer reference may be used to identify the original customer order. The first 30 characters are visibly printed on the returns label. |
| shipmentReference | string | The shipment reference may be used to identify the returns shipment. It is not visibly printed on the returns label but only displayed in the returns overview of the Post & DHL Business Customer Porta |
| creationSoftware | string | Is only to be indicated by DHL partners. |
| shipper | object | |
| itemWeight | object | |
| itemValue | object | |
| customsDetails | object | |
| services | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/dhl/json-schema/dhl-return-order-schema.json",
"title": "ReturnOrder",
"description": "A return order describing the shipper, shipment details and the receiver for which a return label should be created.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/dhl-dhl-parcel-de-returns-post-parcel-germany-openapi.yml#/components/schemas/ReturnOrder",
"type": "object",
"properties": {
"receiverId": {
"$ref": "#/$defs/ReceiverId"
},
"customerReference": {
"type": "string",
"minLength": 0,
"maxLength": 50,
"description": "The customer reference may be used to identify the original customer order. The first 30 characters are visibly printed on the returns label."
},
"shipmentReference": {
"type": "string",
"minLength": 0,
"maxLength": 50,
"description": "The shipment reference may be used to identify the returns shipment. It is not visibly printed on the returns label but only displayed in the returns overview of the Post & DHL Business Customer Portal."
},
"creationSoftware": {
"type": "string",
"maxLength": 35,
"minLength": 0,
"description": "Is only to be indicated by DHL partners."
},
"shipper": {
"$ref": "#/$defs/ContactAddress"
},
"itemWeight": {
"$ref": "#/$defs/Weight"
},
"itemValue": {
"$ref": "#/$defs/Value"
},
"customsDetails": {
"$ref": "#/$defs/CustomsDetails"
},
"services": {
"$ref": "#/$defs/VAS"
}
},
"required": [
"shipper",
"receiverId"
],
"$defs": {
"Commodity": {
"type": "object",
"description": "Represents a declared item in customs declaration.",
"properties": {
"itemDescription": {
"type": "string",
"maxLength": 50,
"description": "Description of the declared item."
},
"packagedQuantity": {
"type": "integer",
"description": "Amount of the declared item(s)."
},
"countryOfOrigin": {
"$ref": "#/$defs/CountryOfOrigin"
},
"hsCode": {
"maxLength": 11,
"minLength": 6,
"type": "string",
"description": "Harmonized System Code aka Customs tariff number."
},
"itemWeight": {
"$ref": "#/$defs/Weight"
},
"itemValue": {
"$ref": "#/$defs/Value"
}
},
"required": [
"itemDescription",
"packagedQuantity",
"itemWeight",
"itemValue"
]
},
"ContactAddress": {
"type": "object",
"description": "A postal contact address including name, street, postal code and city.",
"properties": {
"name1": {
"maxLength": 50,
"minLength": 1,
"type": "string",
"description": "Name1. Line 1 of name information"
},
"name2": {
"maxLength": 50,
"minLength": 0,
"type": "string",
"description": "An optional, additional line of name information"
},
"name3": {
"maxLength": 50,
"minLength": 0,
"type": "string",
"description": "An optional, third additional line of name information"
},
"addressStreet": {
"type": "string",
"description": "This is just the street name.",
"maxLength": 50,
"minLength": 1
},
"addressHouse": {
"type": "string",
"description": "This is just the house number.",
"maxLength": 10,
"minLength": 1
},
"city": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"email": {
"$ref": "#/$defs/Email"
},
"phone": {
"description": "contact phone number",
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"postalCode": {
"$ref": "#/$defs/PostalCode"
},
"state": {
"type": "string",
"maxLength": 20
}
},
"required": [
"name1",
"addressStreet",
"addressHouse",
"postalCode",
"city"
]
},
"CountryOfOrigin": {
"description": "Country where the returned item was produced. A valid country code consisting of three characters according to ISO 3166-1 alpha-3.",
"type": "string",
"enum": [
"ABW",
"AFG",
"AGO",
"AIA",
"ALA",
"ALB",
"AND",
"ARE",
"ARG",
"ARM",
"ASM",
"ATG",
"AUS",
"AUT",
"AZE",
"BDI",
"BEL",
"BEN",
"BES",
"BFA",
"BGD",
"BGR",
"BHR",
"BHS",
"BIH",
"BLM",
"BLR",
"BLZ",
"BMU",
"BOL",
"BRA",
"BRB",
"BRN",
"BTN",
"BVT",
"BWA",
"CAF",
"CAN",
"CCK",
"CHE",
"CHL",
"CHN",
"CIV",
"CMR",
"COD",
"COG",
"COK",
"COL",
"COM",
"CPV",
"CRI",
"CUB",
"CUW",
"CXR",
"CYM",
"CYP",
"CZE",
"DEU",
"DJI",
"DMA",
"DNK",
"DOM",
"DZA",
"ECU",
"EGY",
"ERI",
"ESP",
"EST",
"ETH",
"FIN",
"FJI",
"FLK",
"FRA",
"FRO",
"FSM",
"GAB",
"GBR",
"GEO",
"GGY",
"GHA",
"GIB",
"GIN",
"GLP",
"GMB",
"GNB",
"GNQ",
"GRC",
"GRD",
"GRL",
"GTM",
"GUF",
"GUM",
"GUY",
"HKG",
"HMD",
"HND",
"HRV",
"HTI",
"HUN",
"IDN",
"IMN",
"IND",
"IRL",
"IRN",
"IRQ",
"ISL",
"ISR",
"ITA",
"JAM",
"JEY",
"JOR",
"JPN",
"KAZ",
"KEN",
"KGZ",
"KHM",
"KIR",
"KNA",
"KOR",
"KWT",
"LAO",
"LBN",
"LBR",
"LBY",
"LCA",
"LIE",
"LKA",
"LSO",
"LTU",
"LUX",
"LVA",
"MAC",
"MAF",
"MAR",
"MCO",
"MDA",
"MDG",
"MDV",
"MEX",
"MHL",
"MKD",
"MLI",
"MLT",
"MMR",
"MNE",
"MNG",
"MNP",
"MOZ",
"MRT",
"MSR",
"MTQ",
"MUS",
"MWI",
"MYS",
"MYT",
"NAM",
"NCL",
"NER",
"NFK",
"NGA",
"NIC",
"NIU",
"NLD",
"NOR",
"NPL",
"NRU",
"NZL",
"OMN",
"PAK",
"PAN",
"PCN",
"PER",
"PHL",
"PLW",
"PNG",
"POL",
"PRI",
"PRK",
"PRT",
"PRY",
"PSE",
"PYF",
"QAT",
"REU",
"ROU",
"RUS",
"RWA",
"SAU",
"SDN",
"SEN",
"SGP",
"SHN",
"SJM",
"SLB",
"SLE",
"SLV",
"SMR",
"SOM",
"SPM",
"SRB",
"SSD",
"STP",
"SUR",
"SVK",
"SVN",
"SWE",
"SWZ",
"SXM",
"SYC",
"SYR",
"TCA",
"TCD",
"TGO",
"THA",
"TJK",
"TKL",
"TKM",
"TLS",
"TON",
"TTO",
"TUN",
"TUR",
"TUV",
"TWN",
"TZA",
"UGA",
"UKR",
"URY",
"USA",
"UZB",
"VAT",
"VCT",
"VEN",
"VGB",
"VIR",
"VNM",
"VUT",
"WLF",
"WSM",
"YEM",
"ZAF",
"ZMB",
"ZWE"
]
},
"CustomsDetails": {
"type": "object",
"description": "A customs form (CN23) and the respective data transmission is mandatory for returns with the DHL Retoure International from outside the European Union to facilitate customs processes.\nPlease refer to the DHL Retoure International product information for an overview of the origin country specifics. ",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/Commodity"
},
"minItems": 1,
"maxItems": 20,
"description": "The customs items to be declared."
}
},
"required": [
"items"
]
},
"Email": {
"description": "contact email address",
"format": "email",
"maxLength": 70,
"minLength": 3,
"type": "string"
},
"PostalCode": {
"description": "postal code, relaxed UPU version",
"maxLength": 10,
"minLength": 3,
"pattern": "^[0-9A-Za-z]+([ -]?[0-9A-Za-z]+)*$",
"type": "string"
},
"ReceiverId": {
"type": "string",
"maxLength": 50,
"description": "the receiver id of the return shipment"
},
"VAS": {
"description": "Value added services. Please note that services are specific to products and geographies and/or may require individual setup and billing numbers. Please test and contact your account representative in case of questions.",
"type": "object",
"properties": {
"goGreenPlus": {
"type": "boolean",
"description": "GoGreen Plus enables sustainable shipping by investing in measures to reduce greenhouse gas emissions at DHL."
}
}
},
"Value": {
"description": "Currency and numeric value.",
"type": "object",
"additionalProperties": false,
"properties": {
"currency": {
"description": "Currency the returned goods were payed in.",
"type": "string",
"enum": [
"EUR",
"GBP",
"CHF"
],
"default": "EUR"
},
"value": {
"description": "Numeric value",
"type": "number",
"minimum": 0,
"maximum": 100000,
"multipleOf": 0.01
}
}
},
"Weight": {
"description": "Weight of an item or shipment including unit of measurement and value.",
"required": [
"uom",
"value"
],
"type": "object",
"properties": {
"uom": {
"type": "string",
"description": "Unit of measurement. Metric unit for weight.",
"enum": [
"g",
"kg"
]
},
"value": {
"description": "Weight of item or shipment. Both uom and value are required.",
"type": "number",
"minimum": 0.001,
"maximum": 31500,
"multipleOf": 0.001
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/dhl-return-order"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.