Log in
Model

ConfirmCancelOrder

Magento\OrderCancellationGraphQl\Model\Resolver\ConfirmCancelOrder

What it does

This GraphQL resolver handles the confirmation of order cancellations for guest customers in Magento 2.

Developers use this class when implementing the GraphQL mutation that allows guest users to confirm and complete an order cancellation request by providing their order ID and confirmation details.

It validates the request, ensures the order belongs to a guest, checks if cancellation is allowed, and processes the cancellation.

Public Methods

  • resolve()