You can retrieve all the category lists available in the Magento store starting with category id(1) Root Catalog, Default Category to all the custom created categories.
Retrieve a list of information for the category like category id, attribute set id, parent id, path, position, title, is anchor, is active, include in the menu.
You can achieve functionality using the Catalog module interface Magento\Catalog\Api\CategoryListInterface with getList() method to get a category list. Continue reading “How to Get all Category list in Magento 2?”