How to get billing & shipping address by order id In this Article we will see how to get shipping and billing address by order id.
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$orderId=161;//your order id is here
print_r($orderData->getShippingAddress()->getData());// Here is Shipping Address
print_r($orderData->getBillingAddress()->getData());// Here is Billing Address
If You found this tutorial helpful please like share this post on your favorite social media platform,also if you are facing any problem then Please comment below.