Log in
Model

OrderItems

Magento\SalesGraphQl\Model\Resolver\OrderItems

What it does

This GraphQL resolver handles fetching and returning order items for a customer's order in the GraphQL API.

It filters out child items (like configurable product options) and returns only parent-level order items, delegating the actual data retrieval to the OrderItemProvider.

Developers would use this when implementing or extending GraphQL queries that need to display order line items.

Public Methods

  • resolve()