Log in
Interface

CategoryManagementInterface

Magento\Catalog\Api\CategoryManagementInterface

What it does

This interface defines the contract for managing Magento 2 product categories at a high level.

Developers use it to retrieve category trees with configurable depth, move categories to different parent positions within the hierarchy, and get the total count of categories in the system.

It's primarily used in services and API integrations that need to manipulate or query the category structure.

Public Methods

  • getTree()
  • move()
  • getCount()