Log in
Model

Orders

Magento\SalesGraphQl\Model\Resolver\Orders

What it does

This GraphQL resolver fetches and returns a list of orders for the currently authenticated customer.

Developers use this class to expose order data through Magento's GraphQL API, allowing frontend applications to query customer order history.

It validates customer authorization and formats order data including ID, increment ID, dates, totals, and status for API consumption.

Public Methods

  • resolve()