christoph-schaeffer / dhl-business-shipping

An unofficial library for the DHL business shipping soap API (Version 3.3) and the dhl shipment tracking rest API written in PHP.
MIT License
29 stars 8 forks source link

How to get order id from DHL business API? #17

Closed wdraghwendra closed 2 years ago

wdraghwendra commented 2 years ago

Did we get any order number or order id from DHL with label and shipment number? In an ERP model, the order number is asked to submit.

christoph-schaeffer commented 2 years ago

Hello @wdraghwendra ,

first of all thanks for using the library and i’m sorry for replying to you so late…

As far as i know there is no order number nor a order id for DHL shipments. To me it seems that the requested order number/id isn’t actually an order from DHL. In many ERPs there is an order model within that ERP. My guess is that it’s actually an order from that ERP and not from DHL that is requested to be supplied, so the ERP knows to which order that shipment belongs. So it is most likely a foreignkey. Try to use an order id of an order in your ERP and check if it works.

I hope i could help you!

christoph-schaeffer commented 2 years ago

closing due to inactivity