Log in
Interface

OrderManagementInterface

Magento\Sales\Api\OrderManagementInterface

What it does

This interface defines the contract for managing sales orders in Magento 2.

Developers use this interface to perform order operations like placing orders, canceling them, putting orders on hold, adding comments, sending notifications, and retrieving order status.

It provides a standardized API for order lifecycle management that can be used in custom modules or integrated with external systems.

Public Methods

  • cancel()
  • getCommentsList()
  • addComment()
  • notify()
  • getStatus()
  • hold()
  • unHold()
  • place()