My site has 10 main categories. But when I run the query, only 3 main categories and their subcategories are listed. Other categories don’t come up with what could be the problem?
am_ is correct, rest API categories has
hide_empty default to true. change your request to the following: