Log in
Repository

ShipmentRepositoryInterface

Magento\Sales\Api\ShipmentRepositoryInterface

What it does

This repository interface provides standardized methods for managing shipment entities in Magento 2.

Developers use it to retrieve, create, save, and delete shipment records, as well as search for shipments using specific criteria.

It serves as the primary API contract for all shipment-related database operations in the sales module.

Public Methods

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