DSV

DSV Tracking API

The Tracking API from DSV — 3 operation(s) for tracking.

Operations 3

GET /shipments/shipmentId/{shipmentId} Events by DSV Shipment ID #
GET /shipments/carrierTrackingNumber/{carrierTrackingNumber} Events by Carrier tracking number #
GET /shipments/awb/{awb} Events by AWB number #

Documentation

📖
APIReference
https://developer.dsv.com/api-details#api=access-token-demo-v1
📖
Documentation
https://developer.dsv.com/oauth-guide
📖
Documentation
https://developer.dsv.com/apicatalogue-generic
📖
Authentication
https://developer.dsv.com/oauth-guide
📖
APIReference
https://developer.dsv.com/api-details#api=generic-booking-demo-v2
📖
Documentation
https://developer.dsv.com/guide-mydsv
📖
APIReference
https://developer.dsv.com/api-details#api=generic-tracking-demo-v2
📖
APIReference
https://developer.dsv.com/api-details#api=generic-labels-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=generic-upload-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=generic-download-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=generic-invoice-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=generic-visibilitydemo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=es-quote-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=es-webhook-demo-v1
📖
Documentation
https://developer.dsv.com/webhook-guide
📖
APIReference
https://developer.dsv.com/api-details#api=es-webhook-int-v1
📖
Documentation
https://developer.dsv.com/apicatalogue-cl
📖
APIReference
https://developer.dsv.com/api-details#api=customs-ai-demo-v2
📖
APIReference
https://developer.dsv.com/api-details#api=connect-api-booking-demo-v1
📖
Documentation
https://developer.dsv.com/guide-road
📖
Documentation
https://developer.dsv.com/apicatalogue-road
📖
APIReference
https://developer.dsv.com/api-details#api=connect-api-tracking-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=xpress-booking-v2
📖
Documentation
https://developer.dsv.com/guide-xpress
📖
Documentation
https://developer.dsv.com/apicatalogue-xpress
📖
APIReference
https://developer.dsv.com/api-details#api=xpress-tracking-v2
📖
APIReference
https://developer.dsv.com/api-details#api=xpress-comparator-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-public-api-v2
📖
Documentation
https://developer.dsv.com/guide-scm
📖
Documentation
https://developer.dsv.com/apicatalogue-scm
📖
APIReference
https://developer.dsv.com/api-details#api=edc-booking-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-shipments-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-loadplan-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-edocs-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-events-api-v2
📖
APIReference
https://developer.dsv.com/api-details#api=edc-neom-api-v2
📖
Documentation
https://developer.dsv.com/guide-neom
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-productdata-demo-v1
📖
Documentation
https://developer.dsv.com/guide-contract-logistics
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-preadvice-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-despatch-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-inventory-demo-v1
📖
APIReference
https://developer.dsv.com/api-details#api=warehousing-status-demo-v1

Specifications

Other Resources

🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Access%20Token%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Booking%20V2%20-%20samples%20with%20Bearer%20Token).zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Tracking%20v2.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Label%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Upload%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Download%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Visibility%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Quote%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Webhook%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Webhook%20V1.0%20INT%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(Customs%20v2.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/BookingWebService%20SOAP%20API%20v1.3.postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/TrackingWebService%20SOAP%20API%20v1.3.postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API(XPress%20Booking%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API(XPress%20Tracking%20V2.0).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API(XPress%20Quote%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Orders%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Booking%20V2.0%20-samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Shipments%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Loadplans%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20eDocs%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(eDC%20Events%20V2.0%20-%20samples).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Product%20Data%20v1.0%20-%20samples%20with%20Bearer%20token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Inbound%20Notification%20v1.0%20-%20samples%20with%20Bearer%20Token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Delivery%20Notification%20v1.0%20-%20samples%20with%20Bearer%20token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/DSV%20API%20(WMS%20Inventory%20v1.0%20-%20samples%20with%20Bearer%20token).postman_collection.zip
🔗
PostmanCollection
https://developer.dsv.com/content/WMS%20Notification%20Status%20v1.0%20API.postman_collection.zip

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/dsv-tracking-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dsv-tracking-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XPress Tracking API
  description: Track the status and latest events of your bookings and shipments moved by DSV.
  version: v2
servers:
- url: https://api.dsv.com/xp/tracking/v2
security:
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Tracking
paths:
  /shipments/shipmentId/{shipmentId}:
    get:
      tags:
      - Tracking
      summary: Events by DSV Shipment ID
      description: Retrieve actual events for a specific shipment by searching for the DSV Shipment Id. (e.g. actual departure, transit events, exception events, actual delivery etc.)
      operationId: trackShipment
      parameters:
      - name: shipmentId
        in: path
        description: ID of shipment to track
        required: true
        schema:
          type: integer
      - name: dsv-service-auth
        in: header
        description: DSV XPress service auth for the selected API (found on DSV XPress API profile page)
        required: true
        schema:
          type: string
      - name: x-pat
        in: header
        description: DSV XPress personal access token (found on DSV XPress API profile page)
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation. Return the list of shipment events.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingResponse'
              example:
                shipmentId: 10123456
                carrierTrackingNumber: 1Z3E123412345678
                trackingUrl: https://tracking-url.dsv.com/#/track-shipment?id=10123456
                trackingStatus: DELIVERED
                pickupDate: '2020-02-25T09:57:28.0000000+00:00'
                delivery:
                  deliveryDate: '2020-02-26T09:38:06.0000000+00:00'
                  deliverySignature: SMITH
                  deliveryLocation: Dock
                events:
                - eventCode: KB
                  deviationCode: D
                  eventDate: '2020-02-26T09:38:06.0000000+00:00'
                  eventDescription: 'Delivered (Signed by : SMITH)'
                  location: NL-AMERSFOORT
                  deliverySignature: SMITH
                  deliveryLocation: Dock
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: OF
                  deviationCode: I
                  eventDate: '2020-02-26T04:46:00.0000000+00:00'
                  eventDescription: Out For Delivery
                  location: NL-Apeldoorn
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: AR
                  deviationCode: I
                  eventDate: '2020-02-26T04:45:00.0000000+00:00'
                  eventDescription: Arrival Scan
                  location: NL-Apeldoorn
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-26T02:55:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Herne-Boernig
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: AR
                  deviationCode: I
                  eventDate: '2020-02-26T01:21:00.0000000+00:00'
                  eventDescription: Arrival Scan
                  location: DE-Herne-Boernig
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-25T09:15:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Hamburg
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-25T06:45:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Reinfeld
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: OR
                  deviationCode: I
                  eventDate: '2020-02-25T05:40:47.0000000+00:00'
                  eventDescription: Origin Scan
                  location: DE-Reinfeld
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: MP
                  deviationCode: M
                  eventDate: '2020-02-25T03:15:55.0000000+00:00'
                  eventDescription: 'Order Processed: Ready for UPS'
                  location: DE
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: PRS
                  eventDate: '2020-02-25T09:57:28.0000000+00:00'
                  eventDescription: Shipment submited
                  eventType: S
                  carrierTrackingNumber: 1Z3E123412345678
                  source: DSVXPRESS
                - eventCode: PRC
                  eventDate: '2020-02-25T09:57:16.0000000+00:00'
                  eventDescription: Shipment created
                  eventType: S
                  carrierTrackingNumber: 1Z3E123412345678
                  source: DSVXPRESS
        '400':
          description: Invalid ID supplied
        '401':
          description: Unauthorized
        '404':
          description: Shipment not found
  /shipments/carrierTrackingNumber/{carrierTrackingNumber}:
    get:
      tags:
      - Tracking
      summary: Events by Carrier tracking number
      description: Retrieve actual events for a specific shipment by searching for the Carrier tracking id. (e.g. actual departure, transit events, exception events, actual delivery etc.)
      operationId: trackShipmentByCarrierTrackingNumber
      parameters:
      - name: carrierTrackingNumber
        in: path
        description: Carrier tracking number of shipment to track
        required: true
        schema:
          type: string
      - name: dsv-service-auth
        in: header
        description: DSV XPress service auth for the selected API (found on DSV XPress API profile page)
        required: true
        schema:
          type: string
      - name: x-pat
        in: header
        description: DSV XPress personal access token (found on DSV XPress API profile page)
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation. Return the list of shipment events.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingResponse'
              example:
                shipmentId: 10123456
                carrierTrackingNumber: 1Z3E123412345678
                trackingUrl: https://tracking-url.dsv.com/#/track-shipment?id=10123456
                trackingStatus: DELIVERED
                pickupDate: '2020-02-25T09:57:28.0000000+00:00'
                delivery:
                  deliveryDate: '2020-02-26T09:38:06.0000000+00:00'
                  deliverySignature: SMITH
                  deliveryLocation: Dock
                events:
                - eventCode: KB
                  deviationCode: D
                  eventDate: '2020-02-26T09:38:06.0000000+00:00'
                  eventDescription: 'Delivered (Signed by : SMITH)'
                  location: NL-AMERSFOORT
                  deliverySignature: SMITH
                  deliveryLocation: Dock
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: OF
                  deviationCode: I
                  eventDate: '2020-02-26T04:46:00.0000000+00:00'
                  eventDescription: Out For Delivery
                  location: NL-Apeldoorn
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: AR
                  deviationCode: I
                  eventDate: '2020-02-26T04:45:00.0000000+00:00'
                  eventDescription: Arrival Scan
                  location: NL-Apeldoorn
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-26T02:55:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Herne-Boernig
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: AR
                  deviationCode: I
                  eventDate: '2020-02-26T01:21:00.0000000+00:00'
                  eventDescription: Arrival Scan
                  location: DE-Herne-Boernig
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-25T09:15:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Hamburg
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-25T06:45:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Reinfeld
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: OR
                  deviationCode: I
                  eventDate: '2020-02-25T05:40:47.0000000+00:00'
                  eventDescription: Origin Scan
                  location: DE-Reinfeld
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: MP
                  deviationCode: M
                  eventDate: '2020-02-25T03:15:55.0000000+00:00'
                  eventDescription: 'Order Processed: Ready for UPS'
                  location: DE
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: PRS
                  eventDate: '2020-02-25T09:57:28.0000000+00:00'
                  eventDescription: Shipment submited
                  eventType: S
                  carrierTrackingNumber: 1Z3E123412345678
                  source: DSVXPRESS
                - eventCode: PRC
                  eventDate: '2020-02-25T09:57:16.0000000+00:00'
                  eventDescription: Shipment created
                  eventType: S
                  carrierTrackingNumber: 1Z3E123412345678
                  source: DSVXPRESS
        '400':
          description: Invalid carrier tracking number supplied
        '401':
          description: Unauthorized
        '404':
          description: Shipment not found
  /shipments/awb/{awb}:
    get:
      tags:
      - Tracking
      summary: Events by AWB number
      description: Retrieve actual events for a specific shipment by searching for the AWB number. (e.g. actual departure, transit events, exception events, actual delivery etc.)
      operationId: trackShipmentByAwb
      parameters:
      - name: awb
        in: path
        description: AWB of shipment to track
        required: true
        schema:
          type: string
      - name: dsv-service-auth
        in: header
        description: DSV XPress service auth for the selected API (found on DSV XPress API profile page)
        required: true
        schema:
          type: string
      - name: x-pat
        in: header
        description: DSV XPress personal access token (found on DSV XPress API profile page)
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation. Return the list of shipment events.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingResponse'
              example:
                shipmentId: 10123456
                carrierTrackingNumber: 1Z3E123412345678
                trackingUrl: https://tracking-url.dsv.com/#/track-shipment?id=10123456
                trackingStatus: DELIVERED
                pickupDate: '2020-02-25T09:57:28.0000000+00:00'
                delivery:
                  deliveryDate: '2020-02-26T09:38:06.0000000+00:00'
                  deliverySignature: SMITH
                  deliveryLocation: Dock
                events:
                - eventCode: KB
                  deviationCode: D
                  eventDate: '2020-02-26T09:38:06.0000000+00:00'
                  eventDescription: 'Delivered (Signed by : SMITH)'
                  location: NL-AMERSFOORT
                  deliverySignature: SMITH
                  deliveryLocation: Dock
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: OF
                  deviationCode: I
                  eventDate: '2020-02-26T04:46:00.0000000+00:00'
                  eventDescription: Out For Delivery
                  location: NL-Apeldoorn
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: AR
                  deviationCode: I
                  eventDate: '2020-02-26T04:45:00.0000000+00:00'
                  eventDescription: Arrival Scan
                  location: NL-Apeldoorn
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-26T02:55:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Herne-Boernig
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: AR
                  deviationCode: I
                  eventDate: '2020-02-26T01:21:00.0000000+00:00'
                  eventDescription: Arrival Scan
                  location: DE-Herne-Boernig
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-25T09:15:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Hamburg
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: DP
                  deviationCode: I
                  eventDate: '2020-02-25T06:45:00.0000000+00:00'
                  eventDescription: Departure Scan
                  location: DE-Reinfeld
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: OR
                  deviationCode: I
                  eventDate: '2020-02-25T05:40:47.0000000+00:00'
                  eventDescription: Origin Scan
                  location: DE-Reinfeld
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: MP
                  deviationCode: M
                  eventDate: '2020-02-25T03:15:55.0000000+00:00'
                  eventDescription: 'Order Processed: Ready for UPS'
                  location: DE
                  eventType: P
                  carrierTrackingNumber: 1Z3E123412345678
                  source: UPS
                - eventCode: PRS
                  eventDate: '2020-02-25T09:57:28.0000000+00:00'
                  eventDescription: Shipment submited
                  eventType: S
                  carrierTrackingNumber: 1Z3E123412345678
                  source: DSVXPRESS
                - eventCode: PRC
                  eventDate: '2020-02-25T09:57:16.0000000+00:00'
                  eventDescription: Shipment created
                  eventType: S
                  carrierTrackingNumber: 1Z3E123412345678
                  source: DSVXPRESS
        '400':
          description: Invalid AWB number supplied
        '401':
          description: Unauthorized
        '404':
          description: Shipment not found
components:
  schemas:
    ErrorItem:
      type: object
      properties:
        message:
          type: string
        details:
          type: string
    TrackingEvent:
      type: object
      properties:
        eventCode:
          type: string
          description: Code of event
        deviationCode:
          type: string
          description: Deviation Code
        deviationDescription:
          type: string
          description: Deviation Description
        eventDate:
          type: string
          description: Date of event
          format: date-time
        eventDescription:
          type: string
          description: Detailed description of the event
        location:
          type: string
          description: Event location.
        deliverySignature:
          type: string
          description: Name of the person who signed.
        deliveryLocation:
          type: string
          description: Delivery location.
        eventType:
          type: string
          description: Type of event. P for event related to package, S for event related to shipment.
        carrierTrackingNumber:
          type: string
          description: Shipment carrier tracking number
        awb:
          type: string
          description: Shipment AirWay Bill number
        source:
          type: string
          description: Source of the event. DSV / carrier
      example:
        eventCode: KB
        deviationCode: D
        eventDate: '2020-02-26T09:38:06.0000000+00:00'
        eventDescription: 'Delivered (Signed by : SMITH)'
        location: NL-AMERSFOORT
        deliverySignature: SMITH
        deliveryLocation: Dock
        eventType: P
        carrierTrackingNumber: 1Z3E123412345678
    TrackingDelivery:
      type: object
      properties:
        deliveryDate:
          type: string
          description: Date shipment was delivered.
          format: date-time
        deliverySignature:
          type: string
          description: Name of the person who signed.
        deliveryLocation:
          type: string
          description: Delivery location.
      description: Container for delivery details.
      example:
        deliveryDate: '2020-02-26T09:38:06.0000000+00:00'
        deliverySignature: SMITH
        deliveryLocation: Dock
    TrackingResponse:
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorItem'
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/ErrorItem'
        shipmentId:
          type: integer
          description: DSV Shipment ID
          format: int32
        carrierTrackingNumber:
          type: string
          description: Shipment carrier tracking number
        awb:
          type: string
          description: Shipment AirWay Bill number
        trackingUrl:
          type: string
          description: Tracking URL
        trackingStatus:
          type: string
          description: Current status of the shipment. Could be INIT / IN_TRANSIT / DELIVERED.
        pickupDate:
          type: string
          description: Date shipment was picked-up.
          format: date-time
        delivery:
          $ref: '#/components/schemas/TrackingDelivery'
        events:
          maxItems: 200
          minItems: 0
          type: array
          items:
            $ref: '#/components/schemas/TrackingEvent'
      description: Container for shipment tracking response
      example:
        shipmentId: 10123456
        carrierTrackingNumber: 1Z3E123412345678
        trackingUrl: https://tracking-url.dsv.com/#/track-shipment?id=10123456
        trackingStatus: DELIVERED
        pickupDate: '2020-02-25T09:57:28.0000000+00:00'
        delivery:
          deliveryDate: '2020-02-26T09:38:06.0000000+00:00'
          deliverySignature: SMITH
          deliveryLocation: Dock
        events:
        - eventCode: KB
          deviationCode: D
          eventDate: '2020-02-26T09:38:06.0000000+00:00'
          eventDescription: 'Delivered (Signed by : SMITH)'
          location: NL-AMERSFOORT
          deliverySignature: SMITH
          deliveryLocation: Dock
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: OF
          deviationCode: I
          eventDate: '2020-02-26T04:46:00.0000000+00:00'
          eventDescription: Out For Delivery
          location: NL-Apeldoorn
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: AR
          deviationCode: I
          eventDate: '2020-02-26T04:45:00.0000000+00:00'
          eventDescription: Arrival Scan
          location: NL-Apeldoorn
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: DP
          deviationCode: I
          eventDate: '2020-02-26T02:55:00.0000000+00:00'
          eventDescription: Departure Scan
          location: DE-Herne-Boernig
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: AR
          deviationCode: I
          eventDate: '2020-02-26T01:21:00.0000000+00:00'
          eventDescription: Arrival Scan
          location: DE-Herne-Boernig
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: DP
          deviationCode: I
          eventDate: '2020-02-25T09:15:00.0000000+00:00'
          eventDescription: Departure Scan
          location: DE-Hamburg
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: DP
          deviationCode: I
          eventDate: '2020-02-25T06:45:00.0000000+00:00'
          eventDescription: Departure Scan
          location: DE-Reinfeld
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: OR
          deviationCode: I
          eventDate: '2020-02-25T05:40:47.0000000+00:00'
          eventDescription: Origin Scan
          location: DE-Reinfeld
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: MP
          deviationCode: M
          eventDate: '2020-02-25T03:15:55.0000000+00:00'
          eventDescription: 'Order Processed: Ready for UPS'
          location: DE
          eventType: P
          carrierTrackingNumber: 1Z3E123412345678
          source: UPS
        - eventCode: PRS
          eventDate: '2020-02-25T09:57:28.0000000+00:00'
          eventDescription: Shipment submited
          eventType: S
          carrierTrackingNumber: 1Z3E123412345678
          source: DSVXPRESS
        - eventCode: PRC
          eventDate: '2020-02-25T09:57:16.0000000+00:00'
          eventDescription: Shipment created
          eventType: S
          carrierTrackingNumber: 1Z3E123412345678
          source: DSVXPRESS
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      name: DSV-Subscription-Key
      in: header
    apiKeyQuery:
      type: apiKey
      name: DSV-Subscription-Key
      in: query