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




Tracking information to be sent in email issue

Updated July 02, 2018 10:09 AM


M2 Tracking progress via API

Updated December 03, 2017 08:09 AM