DPD API integration: labels and pickups

VulCode, a software house from Cracow, Poland, connects DPD to your store or warehouse system through the DPD Poland web service. Order data reaches DPD with no retyping of addresses, and the warehouse has parcel numbers, labels, the end-of-day handover protocol and courier pickup booking without a phone call, all in your panel. The DPD integration costs from PLN 999 (about EUR 220) and usually takes 2-3 days, and the free quote comes back within an hour.

DPD

A warehouse day with a DPD integration

The order of operations the integration does for the warehouse team. Most of them are separate DPD service operations.

  1. 1

    Postcode

    We check the recipient's postcode at checkout or while packing, because a wrong one stops the parcel from being registered.

    a checked postcode

  2. 2

    Size and weight

    The warehouse enters the size and weight while packing, or the integration takes them from the product records.

    parcel data that matches reality

  3. 3

    Parcel numbers

    Recipient and parcel data from the order go to DPD, which assigns waybill numbers.

    a parcel number on the order

  4. 4

    Errors

    When a parcel has an error, the warehouse gets a description of it, and the other parcels follow the policy chosen with the warehouse.

    an error description for the warehouse

  5. 5

    Labels

    Labels for printing fetched straight away, in a format for your printer.

    a PDF or thermal-printer label

  6. 6

    Protocol

    At the end of the day a handover protocol for every dispatched parcel.

    a protocol to sign

  7. 7

    Pickup

    Checking available slots and booking the courier with no phone call.

    a confirmed courier visit

  8. 8

    Returns

    A return label for the customer when the store accepts returns.

    a return label in the client panel

The DPD Poland service operations we use

The service is SOAP with versioned operations. We pick the version that supports the features you need.

OperationWhat for
generatePackagesNumbersRegistering parcels and assigning waybill numbers.
generateSpedLabelsShipping labels for printing.
generateProtocolThe handover protocol for the courier.
getCourierOrderAvailabilityAvailable pickup slots.
packagesPickupCallBooking the courier for pickup.
generateReturnLabelA return label for the customer.
findPostalCodeChecking a postcode before dispatch.

Operations come in several versions, e.g. generatePackagesNumbersV1 to V10. DPD grants service and test access under your agreement.

What to do when one parcel has an error

When registering several parcels at once, the DPD service takes one of three policies. We choose it with the warehouse.

Policy values per the DPD Poland service schema. We verify each one's behaviour on the demo environment before launch.

Criterion STOP_ON_FIRST_ERRORIGNORE_ERRORS ALL_OR_NOTHING
By the policy name stop at the first error skip the failing ones, register the rest all or none
For the warehouse it means a quick signal something is wrong some parcels go, some wait for a fix a multi-parcel order is always complete
Fits small batches with manual checks large daily batches orders with several parcels

Who does what

The agreement and service access are on DPD's side, the code on ours.

You

  • The DPD agreement and customer number (FID).
  • Service credentials, demo and production.
  • Deciding the label format and printers.

VulCode

  • Numbers, labels, protocols and pickups in your panel.
  • DPD error handling with a description for the warehouse.
  • Tests on the demo environment before launch.

DPD Poland

  • The web service and its new versions.
  • Access to the test environment.
  • Picking up and delivering parcels.

What flows between your system and DPD

DPD receives shipment data and returns numbers, documents and confirmations.

Your systemDPD

Parcel and recipient data

packing an order

Waybill number

parcel registration

Label and protocol

printing while packing, end of day

Pickup order

parcels ready in the warehouse

Return label

a customer return request

06

What we watch out for with DPD

Things that stop dispatching when the integration does not plan for them.

  1. 01

    Data

    Postcode before dispatch

    A wrong postcode stops parcel registration. We check it earlier, at checkout or packing.

  2. 02

    Dimensions and weight

    A parcel needs realistic data, so the warehouse enters it while packing or takes it from the catalogue.

  3. 03

    The operation version

    Newer operation versions support more services. We pick one and stick to it rather than mixing.

  4. 04

    Error policy

    With several parcels at once you decide whether one error stops all. We agree it with the warehouse.

Common questions about DPD integration

Click a question to see the answer.

How much does the DPD integration cost?
The DPD integration costs from PLN 999 (about EUR 220). The figure grows with the number of systems, data directions and exceptions to handle. A typical integration takes 2-3 days, and the free quote comes back within an hour. We quote it under our API and integrations service.
How long does it take?
Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.
Do I need an agreement with DPD?
Yes. DPD grants web service access and the customer number under an agreement. We only need the demo and production credentials.
Can DPD handle customer returns?
Yes, the service has operations for return labels. The customer can get one in the store panel.
Is it better to connect a store to DPD directly or through an aggregator?
With several carriers an aggregator is more convenient: we connect your system to Furgonetka or Apaczka, with DPD as one of the couriers. If you ship only with DPD, a direct connection is enough.
Will the DPD integration code be mine?
Yes. Once the work is accepted and paid in full, the economic copyright in the code passes to you. You have access to the repository from the first day, and after acceptance you get it with run instructions. Open source libraries keep their own licences.
How do you check the DPD integration before launch?
On the DPD demo environment, before we switch to production. We run real scenarios, including errors, cancellations and returns, and only then switch the integration on in production.
What if the DPD integration stops working?
The integration retries failed operations by itself and logs every one, and when the problem does not go away you get a notification. We fix bugs that come from our work under warranty, and you get 90 days of support included after launch.
What if DPD changes its API?
DPD announces changes in advance. We follow those notices and adapt the integration under a maintenance plan or as a separate short order, before the old version stops working.

Sources

Operations and environments per the DPD Poland service description.

Describe your project.

A free quote comes back within an hour during working hours.