Get tracking info from order/shipment object

by Saiid at RLTSquare   Last Updated April 11, 2018 14:09 PM

How can I get the shipment tracking information from shipment or order object in magento2. Following ways doesn't work for me.

$shipment->getTrackingInfo();

$order->getTrackingInfoByOrder();


Related Questions



Magento 2 order shipment tracking details

Updated October 24, 2018 12:09 PM


Tracking information to be sent in email issue

Updated July 02, 2018 10:09 AM