Log in
Model

GetOrderAvailableActions

Magento\SalesGraphQl\Model\GetOrderAvailableActions

What it does

This class determines which actions are available for a specific order in GraphQL queries.

It iterates through a collection of action provider classes to build a complete list of available actions (like cancel, reorder, return) based on the order's current state.

Developers would use this when implementing GraphQL endpoints that need to display actionable options to customers for their orders.

Public Methods

  • execute()