/home/techb158/ileadtechnology.com/vendor/mollie/mollie-api-php/examples/shipments
Edit: /home/techb158/ileadtechnology.com/vendor/mollie/mollie-api-php/examples/shipments/get-shipment.php (823B)
orders->get('ord_8wmqcHMN4U');
$shipment = $order->getShipment("shp_3wmsgCJN4U");
echo 'Shipment with ID ' . $shipment->id. ' for order with ID ' . $order->id . '.';
foreach ($shipment->lines as $line) {
echo $line->name . ' - status:
' . $line->status . '.';
}
} catch (\Mollie\Api\Exceptions\ApiException $e) {
echo "API call failed: " . htmlspecialchars($e->getMessage());
}