I have the store id and I can get the store information via the `storeInfo` API. However, the store info does not contain the root category id. Is there any way I can get this information from the soap api?
Solved! Go to Solution.
Hi @tao_zhang,
I guess you won't be able to get the information in that way.
Maybe you could develop your own endpoint to get that information? I can't imagine right now another option.
Hi @tao_zhang,
Maybe you can try getting the category tree?
http://devdocs.magento.com/guides/m1x/api/soap/catalog/catalogCategory/catalog_category.tree.html
Hey @Damian Culotta,
Thank you for your reply. My goal is to get the root category for a given store, which can be any node in the category tree. When getting the category tree, we can either provide or not provide the parent id. I might be missing something here. but:
I am assuming the parent id is not known and thus not provided. otherwise, we already have the answer. In that case, we can get the entire category tree. the root node is in that tree, but how can we tell which node is what we are looking for?
Hi @tao_zhang,
I guess you won't be able to get the information in that way.
Maybe you could develop your own endpoint to get that information? I can't imagine right now another option.