DHL Parcel icon

CONNECT APP

Build with DHL Parcel

The operational powerhouse for DHL eCommerce and Benelux shipments. Generate labels, manage multi-piece shipments, and find ServicePoints. Perfect for e-commerce stores that need to automate the physical side of fulfillment beyond just global shipment tracking.

Commerce

  • API key

MCP

Give your agent DHL Parcel tools

Every DHL Parcel action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's DHL Parcel account for each tool call — you store no tokens.

// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": "{project_id}",
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "dhl_parcel",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Track and Trace Parcel:
const result = await mcp.callTool({
  name: "dhl_parcel-track-and-trace-parcel",
  arguments: {
    key: "Key (Tracker Code)",
  },
})

SDK

Run DHL Parcel actions from your backend

Connect a user's DHL Parcel account once, then run Track and Trace Parcel on their behalf from your own code — TypeScript, Python, or plain HTTP.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "dhl_parcel-track-and-trace-parcel",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    dhl_parcel: { authProvisionId: "apn_xxxxxxx" },
    key: "Key (Tracker Code)",
  },
})

TOOLS

DHL Parcel actions

On-demand operations your product or agent can configure and run on behalf of a connected user.

EVENTS

DHL Parcel triggers

Event sources your backend can deploy for users and receive through a webhook.

No DHL Parcel triggers are available yet.

REFERENCE

App details

Reference metadata for the DHL Parcel connector in the Pipedream registry.

App slug
dhl_parcel
Authentication
API key
Categories
Commerce
Actions
1
Triggers
0
API proxy
Not available