Log in
Model

PlaceOrder

Magento\QuoteGraphQl\Model\Resolver\PlaceOrder

What it does

This GraphQL resolver handles placing orders in the checkout process after payment methods have been set.

Developers use this class when implementing or customizing the GraphQL placeOrder mutation, which converts a cart into an order and returns the order details or specific error codes for failures like missing payment methods, inactive carts, or out-of-stock products.

Public Methods

  • resolve()
  • _resetState()