Log in
Model

CustomerOrders

Magento\SalesGraphQl\Model\Resolver\CustomerOrders

What it does

This resolver handles GraphQL queries for retrieving a customer's order history in Magento 2.

Developers use this class when implementing or customizing the customer orders GraphQL endpoint, which returns paginated, filtered, and sorted order data.

It validates customer authorization, applies filters based on store scope (global, website, or store), and formats order data for GraphQL responses.

Public Methods

  • resolve()