Log in
Repository

ShipmentItemRepositoryInterface

Magento\Sales\Api\ShipmentItemRepositoryInterface

What it does

This interface defines the contract for managing shipment items in Magento 2.

Developers use this repository to perform CRUD operations on individual products within a shipment, such as retrieving shipment items by search criteria, loading a specific item by ID, saving changes, or deleting items.

It's commonly used when building custom shipping functionality or integrating with third-party shipping systems that need to access or modify shipment item data.

Public Methods

  • getList()
  • get()
  • delete()
  • save()