Repository
ShipmentRepositoryInterface
Magento\Sales\Api\ShipmentRepositoryInterface
What it does
This interface defines the contract for managing shipment entities in Magento 2.
Developers use this repository to retrieve, create, save, or delete shipment records programmatically, such as when building custom shipping workflows, integrating with third-party logistics systems, or implementing admin shipment management features.
Public Methods
- getList()
- get()
- delete()
- save()
- create()