Magento Certified Developer GuideCategory: 9. SalesHow does Magento store shipping and tracking information
Manish Prakash Staff asked 5 years ago

Magneto uses table sales_flat_shipment_track to store shipment tracking information.
We can put in carrier_code, title, tracking number there.

Also shipping method which have the method “getTrackingInfo()” defined in them, can also return real time tracking information.

These is how its defined “Mage_Usa_Model_Shipping_Carrier_Abstract”

public function getTrackingInfo($tracking)
        $info = array();

        $result = $this->getTracking($tracking);

        if($result instanceof Mage_Shipping_Model_Tracking_Result){
            if ($trackings = $result->getAllTrackings()) {
                return $trackings[0];
        elseif (is_string($result) && !empty($result)) {
            return $result;

        return false;