DHL

DHL Pickup API V1 API

The Pickup API V1 API from DHL — 2 operation(s) for pickup api v1.

GitHub OpenAPI
Business capability
Pickup and Drayage Operations Management BC-2420.30

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

POST /pickup/v1/pickup Request a pickup · Create a pickup #
Ask an LLM
“How do I schedule a courier to collect my parcels?”
“Can I set a ready time and latest pickup time for a pickup?”
Tell an agent
Schedule a pickup for account {customerAccountNumber} at trading location {tradingLocationId} on {pickupDate} from {timeReady} to {latestTime}.
Request a pickup at {tradingLocationId} for {customerAccountNumber} on {pickupDate} with instructions {instructions}.
GET /pickup/v1/pickup Look up a single pickup · Get pickup by identifier #
Ask an LLM
“How do I find a pickup by its pickup identifier?”
“Can I look up a collection job number?”
Tell an agent
Get pickup {pickupIdentifier}.
Look up collection job {pickupIdentifier}.
GET /pickup/v1/pickups List pickups over a date range · Get pickups #
Ask an LLM
“Which pickups were scheduled between two dates?”
“Can I list all pickups for a location in a period?”
Tell an agent
List pickups for account {customerAccountNumber} at location {tradingLocationId} from {startDate} to {endDate}.
Show all pickups at {tradingLocationId} for {customerAccountNumber} between {startDate} and {endDate}.

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-pickup-api-v1-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-pickup-api-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl Pickup API V1 API
  version: 1.3.17
  description: 'Operations tagged Pickup API V1 across 2 of this provider''s published API definitions: dhl-ecommerce-uk-openapi.json, dhl-ecommerce-uk-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-uat.dhl.com/parceluk
- url: https://api.dhl.com/parceluk
security:
- OAuth2: []
tags:
- name: Pickup API V1
paths:
  /pickup/v1/pickup:
    post:
      tags:
      - Pickup API V1
      summary: Create a pickup
      description: Create a pickup from a customer
      requestBody:
        description: Pickup request details
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pickupRequest'
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickupAccepted'
        '401':
          description: 'Unauthorized: Authorization information is missing or invalid.'
          content: {}
        '405':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '422':
          description: 'Bad Request: Unprocessable Entity'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '429':
          description: Too many requests in a short amount of time. Wait a few minutes and try again.
          content: {}
        '500':
          description: Unexpected error
          content: {}
      operationId: postPickupV1Pickup
      x-operation-id-source: derived
    get:
      tags:
      - Pickup API V1
      summary: Get pickup by identifier
      description: Get pickup by pickupIdentifier or collectionJobNumber
      parameters:
      - name: pickupIdentifier
        in: query
        description: pickupIdentifier for a specific driver pick up
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickup'
              example:
                pickupIdentifier: A123456789
                pickupType: adhoc
                status: requested
                customerAccountNumber: CUS-049906
                requestedPickupDate: '2022-01-04'
                timeReady: '15:00'
                latestTime: '17:30'
                instructions: Please pickup from door 12 at back of warehouse.
        '401':
          description: 'Unauthorized: Authorization information is missing or invalid.'
          content: {}
        '404':
          description: Pickup not found.
          content: {}
        '405':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '422':
          description: 'Bad Request: Unprocessable Entity'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '429':
          description: Too many requests in a short amount of time. Wait a few minutes and try again.
          content: {}
        '500':
          description: Unexpected error
          content: {}
      operationId: getPickupV1Pickup
      x-operation-id-source: derived
    servers:
    - url: https://api-uat.dhl.com/parceluk
    - url: https://api.dhl.com/parceluk
  /pickup/v1/pickups:
    get:
      tags:
      - Pickup API V1
      summary: Get pickups
      parameters:
      - name: customerAccountNumber
        in: query
        description: customerAccountNumber for pickup requests.
        required: true
        schema:
          type: string
        example: CUS-049204
      - name: tradingLocationId
        in: query
        description: tradingLocationId for pickup requests
        required: true
        schema:
          type: string
        example: B0V4K000002JMSDUA2
      - name: startDate
        in: query
        description: Start date
        required: true
        schema:
          type: string
        example: '2022-03-01'
      - name: endDate
        in: query
        description: Start date
        required: true
        schema:
          type: string
        example: '2023-03-06'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickups'
        '401':
          description: 'Unauthorized: Authorization information is missing or invalid.'
          content: {}
        '404':
          description: Pickups were not found using parameters provided.
          content: {}
        '405':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '422':
          description: 'Bad Request: Unprocessable Entity'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '429':
          description: Too many requests in a short amount of time. Wait a few minutes and try again.
          content: {}
        '500':
          description: Unexpected error
          content: {}
      operationId: getPickupV1Pickups
      x-operation-id-source: derived
    servers:
    - url: https://api-uat.dhl.com/parceluk
    - url: https://api.dhl.com/parceluk
components:
  schemas:
    pickupRequest:
      type: object
      required:
      - customerAccountNumber
      - tradingLocationId
      - pickupDate
      - timeReady
      - latestTime
      properties:
        customerAccountNumber:
          type: string
          description: customerAccountNumber for customer.
        tradingLocationId:
          type: string
          description: Unique ID for customer trading location. Can be obtained from the Customer API using a customer number.
        pickupDate:
          type: string
          description: 'Pickup date. Format: yyyy-MM-dd'
        timeReady:
          type: string
          description: Time shipments will be ready for pickup. Format hh:mm
        latestTime:
          type: string
          description: Latest time shipments can be picked up. Format hh:mm
        instructions:
          type: string
          description: Any special instructions for the pickup driver
      example:
        customerAccountNumber: CUS-049204
        tradingLocationId: B0V4K000002JMSDUA2
        pickupDate: '2022-03-03'
        timeReady: '15:00'
        latestTime: '17:00'
        instructions: Please pickup from door 12 at back of warehouse.
    pickups:
      type: array
      items:
        type: object
        properties:
          schema:
            $ref: '#/components/schemas/pickup'
      example:
      - pickupIdentifier: A123456790
        pickupType: adhoc
        status: requested
        customerAccountNumber: CUS-049906
        tradingLocationId: L4562-G56SG-H678FD
        requestedPickupDate: '2022-01-05'
        timeReady: '14:30'
        latestTime: '17:30'
        instructions: Please pickup from door 11.
      - pickupIdentifier: A123456789
        pickupType: adhoc
        status: booked
        customerAccountNumber: CUS-049906
        tradingLocationId: L4562-G56SG-H678FD
        requestedPickupDate: '2022-01-04'
        timeReady: '15:00'
        latestTime: '17:30'
        instructions: Please pickup from door 12 at back of warehouse.
        collectionJobNumber: CJ123456789
        plannedPickupDate: '2022-01-04'
      - pickupIdentifier: A123456334
        pickupType: adhoc
        status: allocated
        customerAccountNumber: CUS-049906
        tradingLocationId: L4562-G56SG-H678FD
        requestedPickupDate: '2022-01-03'
        timeReady: '15:00'
        latestTime: '17:30'
        instructions: Please pickup from door 3 at back of warehouse.
        collectionJobNumber: CJ123456788
        plannedPickupDate: '2022-01-04'
        driverId: DV1234567
      - pickupIdentifier: A123456331
        pickupType: adhoc
        status: completed
        customerAccountNumber: CUS-049906
        tradingLocationId: L4562-G56SG-H678FD
        requestedPickupDate: '2022-01-03'
        timeReady: '15:00'
        latestTime: '17:30'
        instructions: Please pickup from door 3 at back of warehouse.
        collectionJobNumber: CJ123456788
        plannedPickupDate: '2022-01-03'
        driverId: DV1234567
        lastAttemptDateTime: '2022-01-03T15:44:32Z'
        success: true
        qtyParcels: 319
      - pickupIdentifier: A123456330
        pickupType: adhoc
        status: completed
        customerAccountNumber: CUS-049906
        tradingLocationId: L4562-G56SG-H678FD
        requestedPickupDate: '2022-01-02'
        timeReady: '15:00'
        latestTime: '17:30'
        instructions: Please pickup from door 3 at back of warehouse.
        collectionJobNumber: CJ123456788
        plannedPickupDate: '2022-01-02'
        driverId: DV1234567
        lastAttemptDateTime: '2022-01-02T15:31:12Z'
        success: false
        qtyParcels: 0
        failureReasonCode: PF1234
        failureReasonDescription: Nothing to collect
    pickup:
      type: object
      properties:
        pickupIdentifier:
          type: string
          description: pickupIdentifier for the pickup
        pickupType:
          type: string
          description: Type of pickup
          enum:
          - regular
          - adhoc
          - return
          - carriageforward
        status:
          type: string
          description: Pickup status
          enum:
          - requested
          - booked
          - allocated
          - collected
          - failed
          - autogeneratedclosed
        customerAccountNumber:
          type: string
          description: customerAccountNumber for customer.
        tradingLocationId:
          type: string
          description: Unique ID for customer trading location
        requestedPickupDate:
          type: string
          description: 'Requested date for driver pickup. Format: yyyy-MM-dd'
        timeReady:
          type: string
          description: Time shipments will be ready for pickup. Format hh:mm
        latestTime:
          type: string
          description: Latest time shipments can be picked up. Format hh:mm
        instructions:
          type: string
          description: Any special instructions for the pickup driver
        collectionJobNumber:
          type: string
          description: Confirmed collection job number
        plannedPickupDate:
          type: string
          description: 'Planned date of next pickup attempt. Format: yyyy-MM-dd'
        driverId:
          type: string
          description: driverId of driver who will attempt the pickup
        lastAttemptDateTime:
          type: string
          description: Date and time pickup completed.
        success:
          type: boolean
          description: Was the driver pickup successful? Were shipments collected?
        qtyParcels:
          type: integer
          description: Quantity of parcels collected at pickup
        failureReasonCode:
          type: string
          description: failure reason code
        failueReasonDescription:
          type: string
          description: failure reason description
    errors:
      type: array
      description: List of errors in RFC7807 Problem Detail Format
      items:
        title: Problem Detail
        type: object
        properties:
          type:
            type: string
          title:
            type: string
          status:
            type: number
          detail:
            type: string
          instance:
            type: string
        description: Definition of [RFC7807](https://tools.ietf.org/html/rfc7807) Problem Detail for HTTP APIs
    pickupAccepted:
      type: object
      properties:
        pickupIdentifier:
          type: string
          description: pickupIdentifier for the pickup created
      example:
        pickupIdentifier: A123456789
  securitySchemes:
    OAuth2:
      type: oauth2
      description: This API uses OAuth 2 with the client-credentials grant flow
      flows:
        clientCredentials:
          tokenUrl: https://api-uat.dhl.com/parceluk/auth/v1/accesstoken
          scopes: {}
x-refined-from:
- dhl-ecommerce-uk-openapi.json
- dhl-ecommerce-uk-openapi.json