Get Category (Collection) Tree from API

New Member
1 0 0


I need retrieve a category tree from API (graphql or rest) but searching there is no way to do it. Only exists one endpoint to get all collections like a list without nested hierarchy and another endpoint to get all products with the collections, but again just a list without nested hierarchy. So, I like know if I can get or exists any way to get this category tree.

PD. I know that sub-categories can be create in the part of menu navigation, but in the back, the categories are lineal yet.