Title: API for sub-category
Last modified: October 8, 2018

---

# API for sub-category

 *  Resolved [manigopal](https://wordpress.org/support/users/manigopal/)
 * (@manigopal)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/api-for-sub-category/)
 * Looking for the woocommerce API’s..
 * need to get json data of sub-category under category
 * reference image :
 * [https://i.stack.imgur.com/MVAR0.jpg](https://i.stack.imgur.com/MVAR0.jpg)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * (@jessepearson)
 * Automattic Happiness Engineer
 * [7 years, 7 months ago](https://wordpress.org/support/topic/api-for-sub-category/#post-10959082)
 * [@manigopal](https://wordpress.org/support/users/manigopal/) The API documentation
   related to categories is here:
    [https://woocommerce.github.io/woocommerce-rest-api-docs/#product-categories](https://woocommerce.github.io/woocommerce-rest-api-docs/#product-categories)
 * It is not possible to query a category and have its children returned, you would
   need to query categories that have the parent ID of the category you’re wanting
   the children of and that will give you the results needed.
 *  [Kenin](https://wordpress.org/support/users/kbassart/)
 * (@kbassart)
 * Automattic Happiness Engineer
 * [7 years, 7 months ago](https://wordpress.org/support/topic/api-for-sub-category/#post-10999979)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.
 *  Thread Starter [manigopal](https://wordpress.org/support/users/manigopal/)
 * (@manigopal)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/api-for-sub-category/#post-11001179)
 * Okay.,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘API for sub-category’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [woocommerce api](https://wordpress.org/support/topic-tag/woocommerce-api/)

 * 3 replies
 * 3 participants
 * Last reply from: [manigopal](https://wordpress.org/support/users/manigopal/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/api-for-sub-category/#post-11001179)
 * Status: resolved