Model

ItemRepository

Magento\Sales\Model\Order\Shipment\ItemRepository

What it does

This repository class manages CRUD operations for shipment items in Magento 2.

Developers use it to retrieve, save, or delete individual items within a shipment, or to get a filtered list of shipment items using search criteria.

It provides a standardized API for working with shipment line items throughout the system.

Public Methods

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