diff --git a/src/Service/API/ShipmentApiService.php b/src/Service/API/ShipmentApiService.php index 84b1489..ef125a9 100644 --- a/src/Service/API/ShipmentApiService.php +++ b/src/Service/API/ShipmentApiService.php @@ -90,6 +90,7 @@ public function __construct( public function createShipment($addressId, ShipmentData $shipmentData, $orderId) { $address = new Address($addressId); + $isCompany = trim($shipmentData->getCompany()) ? true : false; $firstName = $shipmentData->getName(); if ($isCompany) {