/home/techb158/immovalet.com/vendor/mollie/mollie-api-php/examples/shipments
NameSizeModeActions
create-shipment-all.php8270644editdlrm
create-shipment-partial.php13190644editdlrm
get-shipment.php8230644editdlrm
list-shipments.php8710644editdlrm
update-shipment.php12970644editdlrm
Edit: /home/techb158/immovalet.com/vendor/mollie/mollie-api-php/examples/shipments/list-shipments.php (871B)
orders->get('ord_8wmqcHMN4U'); $shipments = $order->shipments(); echo 'Shipments for order with ID ' . $order->id . ':'; foreach ($shipments as $shipment) { echo 'Shipment ' . $shipment->id . '. Items:'; foreach ($shipment->lines as $line) { echo $line->name . ' - status: ' . $line->status . '.'; } } } catch (\Mollie\Api\Exceptions\ApiException $e) { echo "API call failed: " . htmlspecialchars($e->getMessage()); }