Tried using the url below to get all sub-categories, but it retuns all categories without filtering.[filter_groups][0][filters][0][field]=level&searchCriteria[filter_groups][0][filters][0][value]=3&searchCriteria[filter_groups][0][filters][0][condition_type]=eq

Is categories not support searchCriteria?

  • These search criteria applies to all API classes/interfaces which implements the method: getList(\Magento\Framework) – Rushvi Oct 3 '16 at 13:10
  • Thanks, CategoryManagementInterface does not have getList() function, it has only getTree() which does not support searchCriteria. – Ricky.C Oct 4 '16 at 1:14
  • check this magento.stackexchange.com/questions/314994/… if you still look for an answer – Herve Tribouilloy Jun 18 at 9:41

yes it will give you all category what you have to do now you have to filter in response Code

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.