Log in
Interface

OrderAvailableActionProviderInterface

Magento\SalesGraphQl\Api\OrderAvailableActionProviderInterface

What it does

This interface defines a contract for determining which actions are available for a given order in GraphQL contexts.

Developers implement this interface to provide custom logic that returns an array of permitted actions (like cancel, reorder, return) based on the order's current state, customer permissions, and business rules.

Public Methods

  • execute()