Log in
Interface

FormatterInterface

Magento\SalesGraphQl\Model\Shipment\Item\FormatterInterface

What it does

This interface defines a contract for formatting shipment item data for GraphQL API responses.

Developers implement this interface to transform Magento's native shipment item objects into arrays suitable for GraphQL output, allowing customization of how shipment item data is presented in the API layer.

Public Methods

  • formatShipmentItem()