Get order items inside the order $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create( 'Magento\Sales\Model\Order' )->load($block->getRequest()->getParam( "order_id" )); $easyParcelData[ 'shipping_address' ] = array( 'id' => $order->getIncrementId(), 'status' => $order->getStatus(), 'name' => $order->getCustomerName(), ...
Learn Full stack Development with PHP, MYSQL, HTML, Css, javascript, jquery, Ajax, Rest Webservices, Laravel, Angular, React,