DHL

DHL Shipment Booking API

The ShipmentBooking API from DHL — 1 operation(s) for shipmentbooking.

GitHub OpenAPI
Business capability
Booking and Reservation Management BC-2400.40

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /sendtransportinstruction Book a freight shipment · Transport instruction send transport instruction post #
Ask an LLM
“How do I book a freight shipment with DHL Road Freight?”
“Can I set a requested delivery date for a priority freight booking?”
Tell an agent
Book freight shipment {productCode} for payer {payerCode} with parties {parties} and pieces {pieces}.
Book freight shipment {productCode} for payer {payerCode} with parties {parties}, pieces {pieces} and requested delivery date {requestedDeliveryDate}.

Documentation

📖
Documentation
https://developer.dhl.com/tracking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-unified-push
📖
Documentation
https://developer.dhl.com/api-reference/additional-services-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/datafactory-autocomplete-20-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-hybrid-mail-shipments-e-post-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-international-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-internetmarke-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-targeting-post-parcel-germany
📖
Documentation
https://developer.dhl.com/parcel-connect
📖
Documentation
https://developer.dhl.com/api-reference/econnect-beta-dhl-ecommerce-europe
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-pickup-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-postnumber-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-private-shipping-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-returns-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/parcel-de-shipping-post-parcel-germany-v2
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-shipment-tracking-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-document
📖
Documentation
https://developer.dhl.com/api-reference/duty-tax-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/ecommerce-uk
📖
Documentation
https://developer.dhl.com/api-reference/parcel-eu
📖
Documentation
https://developer.dhl.com/api-reference/pickup-cancellation-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/price-quote-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/print-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-and-sub-product-pickup-detail-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/product-finder-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/products-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-push-api
📖
Documentation
https://developer.dhl.com/api-reference/registration-pickup-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/return-label-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/shipment-booking-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-booking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-label-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-status
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-v2-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/time-table-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/tracking-dhl-ecommerce-americas

Specifications

Schemas & Data

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/dhl:dhl-shipmentbooking-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

dhl-shipmentbooking-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl Shipment Booking API
  version: 1.13 (2026/R06)
  contact:
    email: api4freight@dhl.com
  description: 'Operations tagged ShipmentBooking across 2 of this provider''s published API definitions: dhl-shipment-booking-dhl-freight-openapi.yml, dhl-shipment-booking-dhl-freight-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-sandbox.dhl.com/freight/shipping/orders/v1
  description: Customer Sandbox Environment
- url: https://api.dhl.com/freight/shipping/orders/v1
  description: Customer Production Environment
security:
- bearerAuth: []
tags:
- name: ShipmentBooking
paths:
  /sendtransportinstruction:
    post:
      tags:
      - ShipmentBooking
      operationId: TransportInstructionSendTransportInstructionPost
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Shipment'
        required: true
      responses:
        '200':
          description: SendTransportInstruction response success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportInstructionResponseSuccess'
        '400':
          description: SendTransportInstruction response error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportInstructionResponseError'
      summary: Transport instruction send transport instruction post
      x-summary-source: derived
    servers:
    - url: https://api-sandbox.dhl.com/freight/shipping/orders/v1
      description: Customer Sandbox Environment
    - url: https://api.dhl.com/freight/shipping/orders/v1
      description: Customer Production Environment
components:
  schemas:
    LoadingAidOptions:
      type: object
      properties:
        numberOfEuropallets:
          type: integer
          format: int32
        numberOfSkeletonBoxes:
          type: integer
          format: int32
      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)
      example: Cold
    Party:
      required:
      - address
      - name
      - type
      type: object
      properties:
        id:
          maxLength: 15
          type: string
          description: For a consignor, consignee or freight payer the customer account number. Mandatory for the party that according to the payer code will be freight payer.
        type:
          maxLength: 15
          type: string
          enum:
          - Consignor
          - Pickup
          - Consignee
          - Delivery
        vat:
          $ref: '#/components/schemas/PartyVAT'
        vatEoriSocialSecurityNumber:
          maxLength: 20
          type: string
          description: 'EORI as Economic Operators Registration and Identification. Used for customs identification when importing or exporting goods to/from the EU and issued  by customs authorities in the EU member state for import-export-transit, in order to use for customer clearance.

            '
          example: ''
        name:
          maxLength: 70
          type: string
        contactName:
          maxLength: 40
          type: string
        address:
          $ref: '#/components/schemas/Address'
        phone:
          maxLength: 64
          type: string
        email:
          maxLength: 64
          type: string
    ThermoColdOptions:
      type: object
      properties:
        min:
          type: number
          format: double
        max:
          type: number
          format: double
    DangerousGoods:
      required:
      - unNumber
      - properShippingName
      - adrClass
      - tunnelCode
      - grossWeight
      - numberOfPieces
      - packageType
      type: object
      properties:
        dgmId:
          type: integer
          format: int32
          description: 'Unique ADR identification. Only relevant if you use the vendor DG Office for ADR. If not then leave empty/omit.

            '
        adrClass:
          maxLength: 7
          type: string
          example: '4.2'
          description: "ADR Class is mandatory,  but can be left empty for limited quantities (LQ) and excepted quantities (EQ).  \n"
        unNumber:
          type: string
          example: '1380'
        properShippingName:
          maxLength: 45
          type: string
          example: PENTABORANE
          description: The Proper Shipping Name (PSN) is that portion of the ADR entry most accurately describing the goods in.
        flashpointValue:
          type: string
          example: '85'
          description: in degrees Celsius
        packageGroup:
          maxLength: 3
          type: string
          example: I
          description: Official ADR package group codes I, II, III or blanks
        tunnelCode:
          maxLength: 6
          type: string
          example: B/E
        grossWeight:
          type: number
          format: double
        quantityMeasurementUnitQualifier:
          type: string
          enum:
          - KG
          - LTR
          description: KG or LTR
          example: KG
        quantityMeasurementValue:
          type: number
          format: double
        numberOfPieces:
          type: integer
          format: int32
        packageType:
          maxLength: 5
          type: string
          description: Official ADR Packaging code
          example: IBC
        officialNameTechDescription:
          maxLength: 256
          type: string
          description: 'This is the additional technical name, only when required for UN-number with N.O.S. Not Otherwise Specified, so additional chemical substance name is then required.

            '
          example: Official technical name
        marinePollutant:
          type: boolean
        marinePollutantName:
          maxLength: 45
          type: string
        exceptedQuantity:
          type: boolean
        limitedQuantity:
          type: boolean
        emptyContainer:
          type: boolean
        environmentHazardous:
          type: boolean
        waste:
          type: boolean
        netExplosiveMass:
          type: number
          format: double
    Reference:
      required:
      - qualifier
      - value
      type: object
      properties:
        qualifier:
          maxLength: 3
          type: string
          enum:
          - CNR
          - CNZ
          - INV
          description: 'Standard qualifier codes:  CNR = Consignor CNZ = Consignee INV = Invoice

            '
          example: CNR
        value:
          maxLength: 35
          type: string
          example: Consignor-Ref123
    TransportInstructionResponseError:
      type: object
      properties:
        status:
          type: string
        validationErrors:
          type: array
          items:
            $ref: '#/components/schemas/IValidationError'
    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.

            '
          example: EUR
    AvailablePickupDeliveryTimeOptions:
      required:
      - fromTime
      - toTime
      type: object
      description: "Use this time frame for indicating pickup/delivery location’s opening hours or when your goods are available for pickup.  For a fixed aligned pickup/delivery time slot window, please use the respective additional services time slot booking.    \n"
      properties:
        fromTime:
          type: string
          format: time
          example: 09:30
        toTime:
          type: string
          format: time
          example: '14:30'
    Shipment:
      required:
      - parties
      - payerCode
      - pieces
      - productCode
      type: object
      properties:
        id:
          maxLength: 13
          type: string
          description: 'The shipment''s tracking id: The unique number that ensures that packages are not separated from each other during transport from one point to another. Leave empty to get it assigned automatically.

            '
          example: ''
        productCode:
          maxLength: 3
          type: string
          description: 'See the Product Manual for available 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.

            '
          example: ECI
        pickupDate:
          type: string
          description: 'Used with **DHL Road Freight Standard and DHL Road Freight Priority**. The earliest pickup date. Depending on booking deadline and availability the pickup date may be altered by DHL Freight.

            '
          format: date
        requestedDeliveryDate:
          type: string
          description: Required with **DHL Road Freight Priority** and Commited Delivery Date (CDD).
          format: date
        pickupInstruction:
          maxLength: 512
          type: string
        deliveryInstruction:
          maxLength: 512
          type: string
        totalNumberOfPieces:
          maximum: 999
          type: integer
          format: int32
          example: 1
        totalWeight:
          maximum: 99999
          type: number
          description: The shipment total weight in kg
          format: double
          example: 380
        totalVolume:
          maximum: 999
          type: number
          description: The shipment total volume in m³
          format: double
          example: 0.864
        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
        goodsDescription:
          maxLength: 70
          type: string
          description: 'Goods description on shipment level.  On piece level also a description can be provided with goodsType

            '
        goodsValue:
          maximum: 9999999
          type: number
          description: Goods value in monetary
        goodsValueCurrency:
          maxLength: 3
          type: string
          description: ISO 4217 codes are three-letter currency codes
          example: EUR
        references:
          maxItems: 99
          type: array
          items:
            $ref: '#/components/schemas/Reference'
        payerCode:
          $ref: '#/components/schemas/PayerCode'
        parties:
          maxItems: 6
          minItems: 2
          type: array
          items:
            $ref: '#/components/schemas/Party'
        pieces:
          maxItems: 999
          minItems: 1
          type: array
          items:
            $ref: '#/components/schemas/Piece'
        additionalServices:
          $ref: '#/components/schemas/AdditionalServicesDTO'
        additionalInformation:
          maxItems: 99
          type: array
          items:
            $ref: '#/components/schemas/AdditionalInformation'
    Address:
      required:
      - street
      - cityName
      - postalCode
      - countryCode
      type: object
      properties:
        street:
          maxLength: 40
          type: string
          description: Provide both street name and house number in this field.
        additionalAddressInfo:
          maxLength: 40
          type: string
        cityName:
          maxLength: 40
          type: string
        postalCode:
          maxLength: 12
          type: string
          description: For Ireland (IE) EirCode is not supported, use COUNTY NAME as Postal code.
        countryCode:
          maxLength: 2
          type: string
          description: ISO 3166-1 are two-letter country codes
          example: DE
    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.

            '
          example: EUR
    AdditionalInformation:
      type: object
      properties:
        code:
          type: string
          description: 'Contains predefined code values to handle country specific shipment fields for legal requirements. e.g. Hungarian EKAER (EKAER_FREE, EKAER_NUMBER), Polish SENT (SENT_REF,SENT_CARKEY), Romanian UIT (UIT_FREE, UIT_NUMBER).

            '
          example: UIT_NUMBER
        stringValue:
          type: string
          description: 'Contains the content/value for the respective code. For EKAER_NUMBER: provide the Hungarian EKAER number and omit EKAER_FREE. For EKAER_FREE: provide true or false. If true, omit EKAER_NUMBER. For SENT_REF: provide the Polish SENT system reference value. For SENT_CARKEY: provide the Polish SENT carrier key. For UIT_FREE:indicate if this is Romanian UIT free. For UIT_NUMBER: indicate Romanian UIT number.

            '
          example: RO1M-A23N-4I5A-ROM6
        dateValue:
          type: string
          format: date-time
        numericValue:
          type: number
          format: double
    TemperatureControlledOptions:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ThermoType'
        min:
          type: number
          format: double
        max:
          type: number
          format: double
    PartyVAT:
      type: object
      description: 'According some countries (eg Greece) legislation for ALL transport to and from etc, VAT (Value Added Tax)  or TAX ID is required to identification and compliance within the EU for tax compliance.  This data issued by national tax authorities in each EU member state.

        '
      properties:
        countryCode:
          type: string
          description: 'Under referenced legislation; the VAT country prefix as general the country 2  or 3 letters ISO code like CHE for Switzerland and EL for Greece.

            '
          example: TR
          maxLength: 3
        number:
          type: string
          description: 'Under referenced legislation; the number part of the VAT, can include characters depending on the countries specific format.

            '
          example: 1X123456789
          maxLength: 11
      additionalProperties: false
    PayerCode:
      required:
      - code
      type: object
      properties:
        code:
          maxLength: 3
          type: string
          description: 'See the Product Manual for available options (DAP, DDP, EXW, CIP) based on selected product. You can also use GET /products {productCode} to see available payer codes for your product.

            '
          example: DAP
        location:
          maxLength: 17
          type: string
          example: ''
      additionalProperties: false
    FixedDeliveryDateOptions:
      required:
      - date
      type: object
      properties:
        date:
          type: string
          format: date
    IValidationError:
      type: object
      properties:
        field:
          type: string
          readOnly: true
        errorCode:
          type: integer
          format: int32
          readOnly: true
        message:
          type: string
          readOnly: true
        incompatibleFields:
          type: array
          readOnly: true
          items:
            type: string
    TransportInstructionResponseSuccess:
      type: object
      properties:
        status:
          type: string
        shipment:
          $ref: '#/components/schemas/Shipment'
    AdditionalServicesDTO:
      type: object
      properties:
        after12Delivery:
          type: boolean
          example: false
        availablePickupTime:
          $ref: '#/components/schemas/AvailablePickupDeliveryTimeOptions'
        availableDeliveryTime:
          $ref: '#/components/schemas/AvailablePickupDeliveryTimeOptions'
        cashOnDelivery:
          $ref: '#/components/schemas/CashOnDeliveryOptions'
        dangerousGoods:
          type: boolean
          example: false
        driverPreAdviceDelivery:
          type: boolean
          example: false
        dropOffByConsignor:
          type: boolean
          example: false
        fixedDeliveryDate:
          $ref: '#/components/schemas/FixedDeliveryDateOptions'
        insurance:
          $ref: '#/components/schemas/InsuranceOptions'
        highValueShipment:
          $ref: '#/components/schemas/HighValueShipmentOptions'
        loadingAids:
          $ref: '#/components/schemas/LoadingAidOptions'
        preAdvice:
          type: boolean
          example: false
        priorityServiceP10:
          type: boolean
          example: false
        priorityServiceP12:
          type: boolean
          example: false
        sideLoadingPickup:
          type: boolean
          example: false
        sideUnloadingDelivery:
          type: boolean
          example: false
        tailLiftLoading:
          type: boolean
          example: false
        tailLiftUnloading:
          type: boolean
          example: false
        temperatureControlled:
          $ref: '#/components/schemas/TemperatureControlledOptions'
        thermoCold:
          $ref: '#/components/schemas/ThermoColdOptions'
        timeSlotBookingPickup:
          type: boolean
          example: false
        timeSlotBookingDelivery:
          type: boolean
          example: false
    Piece:
      required:
      - numberOfPieces
      - packageType
      - weight
      type: object
      properties:
        id:
          type: array
          description: 'The SSCC (Serial Shipping Container Code) a unique GS1/GS1-128 number, Used to identify a logistic unit, such as a case, pallet or parcel. Leave empty to get it assigned automatically.

            '
          example: []
          items:
            maxLength: 35
            type: string
        goodsType:
          maxLength: 70
          type: string
          description: Description of goods on cargo detail level.
          example: Machinery Parts
        packageType:
          maxLength: 4
          type: string
          example: PAL
          description: 'See the Product Manual for available options based on selected product. You can also use Product API''s GET/packagetypes {productCode} to receive the allowed package types for your selected product.

            '
        marksAndNumbers:
          maxLength: 45
          type: string
          example: '123456789012345678901234567890123456789012345'
        numberOfPieces:
          maximum: 999
          minimum: 1
          type: integer
          format: int32
          example: 1
        weight:
          maximum: 99999
          type: number
          description: Item weight in kg
          format: double
          example: 380
        volume:
          maximum: 999
          type: number
          description: Item volume in m³
          format: double
          example: 0.864
        loadingMeters:
          maximum: 99
          type: number
          format: double
        width:
          maximum: 999
          type: number
          description: Item width in cm
          format: double
          example: 80
        height:
          maximum: 999
          type: number
          description: Item height in cm
          format: double
          example: 90
        length:
          maximum: 9999
          type: number
          description: Item length in cm
          format: double
          example: 120
        stackable:
          type: boolean
        dangerousGoods:
          maxItems: 999
          type: array
          items:
            $ref: '#/components/schemas/DangerousGoods'
    CashOnDeliveryOptions:
      required:
      - amount
      - currency
      type: object
      properties:
        amount:
          type: integer
          format: int64
          example: 475
        currency:
          maxLength: 3
          type: string
          description: ISO 4217 codes are three-letter currency codes
          example: EUR
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- dhl-shipment-booking-dhl-freight-openapi.yml
- dhl-shipment-booking-dhl-freight-openapi.yml