Intégration de l'API DHL dans PHP - Créez une expédition
$shipment = $dhlparcel->shipments->create($parcel);
$shipment->id;
// For shipments with multiple pieces:
$shipment->pieces->each(function ($item) {
$item->label_id;
$item->barcode;
})
// For a shipment with one single piece:
$shipment->label_id;
$shipment->barcode;
Zany Zebra