DHL

DHL order records API

Manage order information (order records) which were sent to the Deutsche Post Auftragsmanagement.You need an access token with ROLE_DIS_ACCESS to access this resource.

GitHub OpenAPI

Operations 3

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

GET /dispatchpreparation/v1/orderrecords List dispatch preparation order records · Fetches a list of order records #
Ask an LLM
“Which dispatch preparation orders have been recorded for a customer?”
“Can I list dispatch preparation records for a date range?”
Tell an agent
List dispatch preparation order records for customer {customerId} in processing {processingid}.
Show dispatch preparation records for {customerId} in {processingid} from {datefrom} to {dateto}.
PUT /dispatchpreparation/v1/orderrecords Update a dispatch preparation order · Updates an order in order management (AM) and creates a record entry of type… #
Ask an LLM
“How do I update an order in dispatch preparation?”
“Can I set the induction date when updating a dispatch preparation order?”
Tell an agent
Update dispatch preparation order {amOrderId} for customer {customerId} with induction {induction} on {inductionDate} in {processingid}.
Submit dispatch preparation order {amOrderId} for {customerId} in {processingid} with induction {induction} and induction date {inductionDate}.
DELETE /dispatchpreparation/v1/orderrecords Cancel an order in Auftragsmanagement · Cancel an order within Deutsche Post Auftragsmanagement #
Ask an LLM
“How do I cancel an order I prepared for dispatch?”
“Can I cancel an order by its processing ID?”
Tell an agent destructive · confirm first
Cancel order {amOrderId} for customer {customerId} by processing {processingid}.
Cancel dispatch preparation {processingid} for order {amOrderId} (customer {customerId}).

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

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-order-records-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-order-records-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl order records API
  version: 26.11.02-291-a8c40f4a7af2fabbbe5278c6fafbd2076d62a39b
  contact:
    url: https://developer.dhl.com/api-reference/print-mailing-dispatch-preparation-api
    email: it-csp@deutschepost.de
  description: 'Operations tagged order records across 2 of this provider''s published API definitions: dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml, dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-eu.dhl.com/post/advertising/print-mailing
  description: Production environment
- url: https://api-uat.dhl.com/post/advertising/print-mailing
  description: Test environment
tags:
- name: order records
  description: Manage order information (order records) which were sent to the Deutsche Post Auftragsmanagement.You need an access token with ROLE_DIS_ACCESS to access this resource.
paths:
  /dispatchpreparation/v1/orderrecords:
    get:
      tags:
      - order records
      summary: Fetches a list of order records
      operationId: getOrderRecords
      parameters:
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      - name: datefrom
        in: query
        description: Filter order records by inductionDate from. Today, if not supplied.
        required: false
        schema:
          type: string
          format: date
      - name: dateto
        in: query
        description: Filter order records by inductionDate to.
        required: false
        schema:
          type: string
          format: date
      - name: processingid
        in: query
        description: Identifier of the requested processing.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: List of the requested order records.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionRepOrderRecordRep'
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '422':
          description: 'DM_DIS_2024: If the given time range is invalid.'
    put:
      tags:
      - order records
      summary: Updates an order in order management (AM) and creates a record entry of type…
      operationId: updateOrder
      parameters:
      - name: processingid
        in: query
        description: Identifier of the corresponding processing.
        required: true
        schema:
          type: integer
          format: int64
      - name: amOrderId
        in: query
        description: Identifier of the corresponding order issued by order management (AM).
        required: false
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrderRecordRep'
        required: true
      responses:
        '200':
          description: Creation of order record and update of order successful. Get the details from the order record list.
          content:
            '*/*':
              schema:
                type: object
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: 'DM_DIS_2010: If the requested order does not exist. DM_DIS_2033: No order found for update.'
        '422':
          description: 'DM_DIS_2012: If the specified inductionDate is invalid. DM_DIS_2008: Wrong combination of induction information. DM_DIS_2030: Update not possible for processing with simulation. DM_DIS_2031: The originator ekp cannot be changed. DM_DIS_2029: Update is not possible. Processing not found. DM_DIS_2044: Depot of pick-up induction cannot be changed in order management.'
    delete:
      tags:
      - order records
      summary: Cancel an order within Deutsche Post Auftragsmanagement
      operationId: cancelOrder
      parameters:
      - name: processingid
        in: query
        description: Identifier of the corresponding processing.
        required: true
        schema:
          type: integer
          format: int64
      - name: amOrderId
        in: query
        description: Identifier of the corresponding order issued by order management (AM).
        required: false
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: Identifier of the customer owning the order.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Order successfully cancelled.
          content:
            application/json:
              schema:
                type: object
        '403':
          description: Access forbidden because of missing authority for resource or entity.
        '404':
          description: 'DM_DIS_2010: If the requested order does not exist.'
        '422':
          description: 'DM_DIS_2011: If the order is not cancelable.'
    servers:
    - url: https://api-eu.dhl.com/post/advertising/print-mailing
      description: Production environment
    - url: https://api-uat.dhl.com/post/advertising/print-mailing
      description: Test environment
components:
  schemas:
    CollectionRepOrderRecordRep:
      type: object
      properties:
        elements:
          type: array
          items:
            $ref: '#/components/schemas/OrderRecordRep'
        page:
          $ref: '#/components/schemas/PageMetadata'
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
    PageMetadata:
      type: object
      properties:
        size:
          type: integer
          format: int64
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int64
        number:
          type: integer
          format: int64
    UpdateOrderRecordRep:
      type: object
      description: The updated order record data.
      properties:
        customerId:
          type: integer
          format: int64
          description: The customer id for which to act.
        originatorEkp:
          type: string
          description: Originator ekp.
          example: '0000000001'
        submitterEkp:
          type: string
          description: Submitter ekp.
          example: '0000000002'
        induction:
          $ref: '#/components/schemas/InductionBaseRep'
          description: Specifies induction parameters. You cannot change the induction type defined in the processing!
        inductionDate:
          type: string
          format: date-time
          description: The submission date time of this order record.
          example: '2022-09-10T20:00:00.000Z'
      required:
      - customerId
      - induction
      - inductionDate
    InductionBaseRep:
      type: object
      properties:
        depotName:
          type: string
          description: Name of the Deutsche Post depot. Use a location of type 'ELN-Depot' for your pick-up induction or a location of type 'LARGE_RECEIVING_POINT' for post-to-depot induction. See 'depotlookups' resource for available values.
          example: Bautzen
          maxLength: 50
          minLength: 0
        pickUpLocationStreet:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Street without house number.'
          example: Musterstrasse
          maxLength: 50
          minLength: 0
        pickUpLocationHouseNumber:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: House number.'
          example: 12
          maxLength: 20
          minLength: 0
        pickUpLocationZip:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Zip code.'
          example: 12345
          maxLength: 10
          minLength: 0
        pickUpLocationCity:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: City.'
          example: Musterstadt
          maxLength: 50
          minLength: 0
        pickUpLocationCountry:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Country (ISO 3166-1 alpha-2: 2 letters).'
          example: DE
          maxLength: 2
          minLength: 2
    DpOrderRecordPaymentRep:
      type: object
      properties:
        ownerEkp:
          type: string
          description: Identifies the contract owner. This ekp is a part of a customer contract.
          example: '0000000001'
        procedureNumber:
          type: string
          description: This two-digit number ('Verfahren') is a part of a contract.
          example: 25
        subscriptionNumber:
          type: string
          description: This two-digit number ('Teilnahme') is a part of a contract.
          example: '01'
    OrderRecordRep:
      type: object
      properties:
        id:
          type: string
          description: This is the alphanumeric message ID from Auftragsmanagement.
          example: 210910114130A10001001
        processingId:
          type: integer
          format: int64
          description: The id of the related processing.
          example: 1
        amOrderId:
          type: integer
          format: int64
          description: The order record id in Deutsche Post Auftragsmanagement.
          example: 54778843
        status:
          type: integer
          format: int32
          description: Describes the order record's current state. See lookup resource 'OrderRecordState' for available values.
          example: 20
        type:
          type: integer
          format: int32
          description: The order record type. See lookup resource 'OrderRecordType' for available values.
          example: 1
        amInvoiceNumber:
          type: string
          description: AM invoice number (last sheet number, or 'Entgeltabrechnungsnummer'.
          example: 473
        amStatus:
          type: string
          description: AM response information. Contains hints if AM messages did not succeed.
        originatorEkp:
          type: string
          description: Originator ekp.
          example: '0000000001'
        submitterEkp:
          type: string
          description: Submitter ekp.
          example: '0000000002'
        inductionType:
          type: integer
          format: int32
          description: The induction type. See lookup resource 'InductionType' for available values.
          example: 2
        inductionDate:
          type: string
          format: date-time
          description: The submission date time of this order record.
          example: '2022-09-10T20:00:00.000Z'
        depotName:
          type: string
          description: 'Relevant only if you chose InductionType=2: Name of the Deutsche Post depot. See ''depotlookups'' resource for available values.'
          example: Bautzen
        pickUpLocationStreet:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Street without house number.'
          example: Musterstrasse
        pickUpLocationHouseNumber:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: House number.'
          example: 12
        pickUpLocationZip:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Zip code.'
          example: 12345
        pickUpLocationCity:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: City.'
          example: Musterstadt
        pickUpLocationCountry:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Country (ISO 3166-1 alpha-2: 2 letters).'
          example: DE
        dialogpostPayment:
          $ref: '#/components/schemas/DpOrderRecordPaymentRep'
          description: Order payment information.
    Link:
      type: object
      properties:
        href:
          type: string
        hreflang:
          type: string
        title:
          type: string
        type:
          type: string
        deprecation:
          type: string
        profile:
          type: string
        name:
          type: string
        templated:
          type: boolean
x-refined-from:
- dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml
- dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml