Repository
OrderStatusHistoryRepositoryInterface
Magento\Sales\Api\OrderStatusHistoryRepositoryInterface
What it does
This repository interface provides methods to manage order status history comments in Magento 2.
Developers use it to retrieve, save, or delete comments that track order status changes, such as when an order is shipped, canceled, or refunded.
It's essential for customizing order workflows and maintaining audit trails of order modifications.
Public Methods
- getList()
- get()
- delete()
- save()