Model
CancelOrder
Magento\OrderCancellationGraphQl\Model\Resolver\CancelOrder
What it does
This GraphQL resolver handles customer order cancellation requests through the GraphQL API.
Developers use this class when implementing the cancelOrder mutation endpoint, which validates the customer's authorization, checks if the order can be cancelled, processes the cancellation with a reason, and returns the updated order or error messages.
Public Methods
- resolve()