Model
ItemProvider
Magento\SalesGraphQl\Model\Shipment\ItemProvider
What it does
This class retrieves and formats shipment item data for GraphQL API responses in Magento 2.
Developers use this class when they need to prepare shipment item information for GraphQL queries, as it applies product-type-specific formatters to each item in a shipment.
It's part of the SalesGraphQl module that exposes shipment data through the GraphQL API.
Public Methods
- getItemData()