Skip to content

Ship parcelsfrom your code.

One API request creates a shipment and its label, for PostNL, DHL, bpost, DPD and ten more carrier services. Guides, SDKs, plug-ins and the full API reference live here.

API statusConnect your AI assistant with the MCP beta
POST/shipments
"carrier": 1,
"recipient": { "cc": "NL", … },
"options": { "package_type": 1 }
201 Created "id": 123456
PostNLNL
J. de VriesAntareslaan 31, 2132JE Hoofddorp3SMYPA749883621
3Handed to carrierPostNL
DeliveredStatus 7

Documentation

Guides for every step, from your API key to your first label and the webhooks after it.

  • 6 guides, from authentication to webhooks
  • SDKs for PHP and JavaScript
  • 16 platform manuals
Open the documentation

API reference

Every endpoint, parameter and schema, generated from the published OpenAPI spec of each API.

  • 7 APIs on one account
  • Code samples for every request
  • OpenAPI specs to download
Open the API reference

Everything after the order

?format=A4&positions=1

Labels in A4 or A6

Fetch one label or a hundred as one PDF. On A4 you choose where the first label goes.

Read about labels
Delivery

Delivery options at checkout

A widget that shows your customer the carriers, delivery moments and pickup points you allow.

Add delivery options
X-MyParcel-Hook: shipment_status_change
{ "data": { "hooks": [{
  "shipment_id": 123456,
  "status": 2,
  "barcode": "3SMYPA749883621"
}] } }

Webhooks, not polling

Subscribe once. MyParcel posts every status change of a shipment to your URL.

Set up webhooks
$ composer require myparcelnl/sdk:^11.0

SDKs for PHP and JavaScript

Skip the raw HTTP. Install the SDK and create shipments with typed objects.

Install an SDK

One integration, every carrier

Build against MyParcel once and ship with the carriers your contract covers. Or install a plug-in for your platform and skip the code.

  • Carrier IDs in the data types guide
  • 4 SDK guides
  • 64 integrations in the catalogue
Carriers
PostNLDHLDPDUPSbpostGLSTrunkrsCheap CargoBRTInPostPoste Italiane
Platforms
WooCommerceMagento 2PrestaShopShopifyLightspeedCS-CartOpenCart 4OpenCart 3OdooCCV ShopEcwidbolAmazonChrome extensionEtsyExact Online