Interface
ShipmentTrackCreationInterface
Magento\Sales\Api\Data\ShipmentTrackCreationInterface
What it does
This interface defines the contract for creating shipment tracking information in Magento 2.
Developers use this when programmatically adding tracking numbers to shipments through the API, extending the base TrackInterface with extensible attributes support for custom data.
It's primarily used in shipment creation workflows and third-party shipping integrations.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()