dhl-php-sdk icon indicating copy to clipboard operation
dhl-php-sdk copied to clipboard

Package Type

Open baao opened this issue 9 years ago • 4 comments

Hi,

        // FIXME: What is this
        $s['ShipmentItem']['PackageType'] = 'PL';

The 'PL' seems to be Palette - DHL doesn't seem to check for this on national shipments, but throws an error for international ones. If you change it to 'PK' it will work for national and international shipments.

Best regards!

baao avatar May 17 '15 13:05 baao

But what means "PK"? But thanks anyway for the info

Petschko avatar Sep 15 '16 12:09 Petschko

I think it stands for "package"!?

Peter D. [email protected] schrieb am Do. 15. Sep. 2016 um 14:31:

But what means "PK"? But thanks anyway for the info

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tobias-redmann/dhl-php-sdk/issues/2#issuecomment-247314929, or mute the thread https://github.com/notifications/unsubscribe-auth/AAL5NjF-W6yz9e_eTmMY67MEv63s-wUPks5qqTqcgaJpZM4EdrOQ .

derpepe avatar Sep 15 '16 12:09 derpepe

Yes, it's package. However, it seems like DHL has removed that in the new API version

baao avatar Sep 15 '16 12:09 baao

Ah nice to know, thank you =)

Petschko avatar Sep 15 '16 13:09 Petschko