Log in
Model

Info

Magento\Shipping\Model\Info

What it does

This model handles retrieving shipment tracking information in Magento 2.

Developers use it to load and display tracking details for customers, typically by decoding a tracking hash and fetching tracking numbers from orders, shipments, or individual tracking records.

It's commonly used in customer-facing tracking pages where users need to view their shipment status.

Public Methods

  • loadByHash()
  • getTrackingInfo()
  • getTrackingInfoByOrder()
  • getTrackingInfoByShip()
  • getTrackingInfoByTrackId()