DHL · Schema

QuoteModel

FreightLogisticsShippingE-CommerceTrackingSupply ChainExpress DeliveryPostal ServicesParcel

Properties

Name Type Description
eid object
shipment object
ownSurCharge object
View JSON Schema on GitHub

JSON Schema

dhl-quote-model-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-quote-model-schema.json",
  "title": "QuoteModel",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-price-quote-dhl-freight-openapi.yml#/components/schemas/QuoteModel",
  "type": "object",
  "properties": {
    "eid": {
      "$ref": "#/$defs/Eid"
    },
    "shipment": {
      "$ref": "#/$defs/ShipmentModel"
    },
    "ownSurCharge": {
      "$ref": "#/$defs/OwnSurCharge"
    }
  },
  "$defs": {
    "AdditionalService": {
      "type": "object",
      "properties": {
        "after12Delivery": {
          "type": "boolean"
        },
        "cashOnDelivery": {
          "$ref": "#/$defs/CashOnDeliveryOptions"
        },
        "dangerousGoods": {
          "type": "boolean"
        },
        "dropOffByConsignor": {
          "type": "boolean"
        },
        "fixedDeliveryDate": {
          "$ref": "#/$defs/FixedDeliveryDateOptions"
        },
        "highValueShipment": {
          "$ref": "#/$defs/HighValueShipmentOptions"
        },
        "insurance": {
          "$ref": "#/$defs/InsuranceOptions"
        },
        "preAdvice": {
          "type": "boolean"
        },
        "priorityServiceP10": {
          "type": "boolean"
        },
        "priorityServiceP12": {
          "type": "boolean"
        },
        "sideLoadingPickup": {
          "type": "boolean"
        },
        "sideUnloadingDelivery": {
          "type": "boolean"
        },
        "tailLiftLoading": {
          "type": "boolean"
        },
        "tailLiftUnloading": {
          "type": "boolean"
        },
        "thermoCold": {
          "$ref": "#/$defs/Thermo"
        },
        "timeSlotBookingPickup": {
          "type": "boolean"
        },
        "timeSlotBookingDelivery": {
          "type": "boolean"
        },
        "temperatureControlled": {
          "$ref": "#/$defs/TemperatureControlledOptions"
        }
      }
    },
    "CashOnDeliveryOptions": {
      "required": [
        "amount",
        "currency"
      ],
      "type": "object",
      "properties": {
        "amount": {
          "type": "integer",
          "format": "int64"
        },
        "currency": {
          "maxLength": 3,
          "type": "string",
          "description": "ISO 4217 codes are three-letter currency codes\n"
        }
      }
    },
    "Eid": {
      "required": [
        "userName",
        "password"
      ],
      "type": "object",
      "properties": {
        "userName": {
          "type": "string"
        },
        "password": {
          "type": "string"
        }
      }
    },
    "FixedDeliveryDateOptions": {
      "required": [
        "date"
      ],
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "format": "date"
        }
      }
    },
    "HighValueShipmentOptions": {
      "required": [
        "currency",
        "value"
      ],
      "type": "object",
      "properties": {
        "value": {
          "type": "number",
          "format": "double"
        },
        "currency": {
          "maxLength": 3,
          "type": "string",
          "description": "ISO 4217 codes are three-letter currency codes\n"
        }
      }
    },
    "InsuranceOptions": {
      "required": [
        "currency",
        "value"
      ],
      "type": "object",
      "properties": {
        "value": {
          "type": "number",
          "format": "double"
        },
        "currency": {
          "maxLength": 3,
          "type": "string",
          "description": "ISO 4217 codes are three-letter currency codes\n"
        }
      }
    },
    "OwnSurCharge": {
      "type": "object",
      "properties": {
        "percentage": {
          "format": "double",
          "type": "number",
          "description": "For your own purpose, you can add a markup percentage to the total amount"
        },
        "value": {
          "format": "double",
          "type": "number",
          "description": "For your own purpose, you can add a markup amount to the total amount"
        }
      }
    },
    "Party": {
      "type": "object",
      "properties": {
        "id": {
          "maxLength": 15,
          "type": "string",
          "description": "For a consignor, consignee, pickup and delivery the customer account number. Mandatory for the party that according to the payer code will be freight payer."
        },
        "name": {
          "type": "string"
        },
        "type": {
          "$ref": "#/$defs/PartyType"
        },
        "address": {
          "$ref": "#/$defs/PartyAddress"
        }
      }
    },
    "PartyAddress": {
      "type": "object",
      "properties": {
        "street": {
          "maxLength": 40,
          "type": "string",
          "description": "Provide both street name and house number in this field."
        },
        "cityName": {
          "maxLength": 40,
          "type": "string"
        },
        "postalCode": {
          "maxLength": 12,
          "type": "string"
        },
        "countryCode": {
          "maxLength": 2,
          "type": "string",
          "description": "ISO 3166-1 are two-letter country codes \n"
        }
      }
    },
    "PartyType": {
      "maxLength": 15,
      "type": "string",
      "enum": [
        "Consignor",
        "Consignee",
        "Pickup",
        "Delivery"
      ]
    },
    "PayerCode": {
      "required": [
        "code"
      ],
      "type": "object",
      "properties": {
        "code": {
          "maxLength": 3,
          "type": "string",
          "description": "See the product documentation for available options based on selected product. You can also use GET /products {productCode} to see available payer codes for your product."
        },
        "location": {
          "maxLength": 17,
          "type": "string"
        }
      }
    },
    "Piece": {
      "type": "object",
      "properties": {
        "packageType": {
          "maxLength": 4,
          "type": "string",
          "description": "See the product documentation for available options based on selected product. You can also use GET / packageTypes {productCode} to receive the allowed package types for your selected product\n"
        },
        "numberOfPieces": {
          "maximum": 999,
          "minimum": 1,
          "type": "integer",
          "format": "int32"
        },
        "weight": {
          "maximum": 99999,
          "type": "number",
          "description": "Item weight in kg",
          "format": "double"
        },
        "volume": {
          "maximum": 999,
          "type": "number",
          "description": "Item volume in m³",
          "format": "double"
        },
        "loadingMeters": {
          "maximum": 99,
          "type": "number",
          "format": "double"
        },
        "width": {
          "maximum": 999,
          "type": "number",
          "description": "Item width in cm",
          "format": "double"
        },
        "height": {
          "maximum": 999,
          "type": "number",
          "description": "Item height in cm",
          "format": "double"
        },
        "length": {
          "maximum": 9999,
          "type": "number",
          "description": "Item length in cm",
          "format": "double"
        },
        "stackable": {
          "type": "boolean"
        }
      }
    },
    "ShipmentModel": {
      "required": [
        "parties",
        "payerCode",
        "pieces",
        "productCode"
      ],
      "type": "object",
      "properties": {
        "productCode": {
          "maxLength": 3,
          "type": "string",
          "description": "See the product documentation for available Freight Product options. You can also use GET /products to see available product for your region. With POST /productmatches you can validate which products fit to your shipment details."
        },
        "totalNumberOfPieces": {
          "maximum": 999,
          "type": "integer",
          "format": "int32"
        },
        "totalWeight": {
          "maximum": 99999,
          "type": "number",
          "description": "The shipment total weight weight in kg",
          "format": "double"
        },
        "totalVolume": {
          "maximum": 999,
          "type": "number",
          "description": "The shipment total volume in m³",
          "format": "double"
        },
        "totalLoadingMeters": {
          "maximum": 99,
          "type": "number",
          "description": "A loading meter (LDM) is 1 meter of the loading space of a truck's width and full height. Usually calculated for goods that cannot be stacked on or with other goods.",
          "format": "double"
        },
        "goodsValue": {
          "type": "number",
          "format": "double"
        },
        "goodsValueCurrency": {
          "maxLength": 3,
          "type": "string",
          "description": "ISO 4217 codes are three-letter currency codes"
        },
        "payerCode": {
          "$ref": "#/$defs/PayerCode"
        },
        "pieces": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Piece"
          }
        },
        "parties": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Party"
          }
        },
        "additionalServices": {
          "$ref": "#/$defs/AdditionalService"
        }
      }
    },
    "TemperatureControlledOptions": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/$defs/ThermoType"
        },
        "min": {
          "type": "number",
          "format": "double"
        },
        "max": {
          "type": "number",
          "format": "double"
        }
      }
    },
    "Thermo": {
      "type": "object",
      "additionalProperties": false
    },
    "ThermoType": {
      "type": "string",
      "enum": [
        "Cold",
        "Ambient",
        "Custom"
      ],
      "description": "Thermo Type as Cold (2-8 °C), Ambient (15-25 °C), Custom (min-max °C)"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dhl-quote-model"
All schemas
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.