karrioapi / karrio

Programmable Shipping API (self-hosted)
https://karrio.io
Apache License 2.0
547 stars 101 forks source link

[carrier-integration] DHL Freight #361

Open MarcoWel opened 1 year ago

MarcoWel commented 1 year ago

Is your feature request related to a problem? Please describe. DHL Freight is the DHL branch for large goods / palettized shipments. They are widely used in Germany and EU. https://www.dhl.com/global-en/home/our-divisions/freight.html

Describe the solution you'd like DHL Freight uses a XML/SOAP webservice. It would be great to be supported out of karrio.

The following operations are supported by the weborder service (full schema attached):

There are no rate requests, so rates should be determined via karrio's new pricing table scheme.

Describe alternatives you've considered Currently, DHL Freight shipments must be created manually via their FCM AX4 web portal. This is error prone and time consuming.

Additional Context Full Schema: final_wo_version_1_3_13_20230103_1053.wsdl.txt

Upvote & Fund

Fund with Polar

MarcoWel commented 1 year ago

@danh91 How much work do you expect this to be? If you could provide the generated schema structs, I will help you getting this done.

danh91 commented 1 year ago

We have to assess. Technically an hour or two to setup the extension with identification of services, options...

But I don't know how long testing will take. Depending on API key accessibility...

A couple of things on the roadmap before we get to tackle it

MarcoWel commented 1 year ago

Typical sequence for creating a DHL Freight shipment:

There is one specialty with DHL Freight: Shipments can only be cancelled (dhl:DHL_ShipmentDeletionRequest) before they are finalized. After finalization, the shipment cannot be cancelled via API anymore.

On the other hand, the shipping docs are only partially available before finalizing (LoadingList). The actual barcode document(s) which serves as the shipping label(s) is available after the ManifestRequest.

MarcoWel commented 10 months ago

Any update on this one? Let me know if you need support with testing.

danh91 commented 10 months ago

Hi @MarcoWel,

I haven't forgotten this one. I hope to finish the upgrade to new APIs for the ones that are already supported like (DPDHL, and DHL Express JSON APIs…).

It is one of the unconventional ones were the API doesn't follow regular APIs sequences so I don't want to underestimate the work it will require and make false promises.