Title: REST API Variations
Last modified: September 30, 2021

---

# REST API Variations

 *  Resolved [beprofit](https://wordpress.org/support/users/beprofit/)
 * (@beprofit)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/rest-api-variations/)
 * Hi,
 * In order to provide comprehensive analytic services for our user, our app is 
   required to pull store all time order and product data. Unfortunately the latest
   version of Products API doesn’t return variations data beyond associated id’s,
   so we are forced to fetch variations for each product separately which is very
   ineffectual way to fetch data.
    Are there any plans to return full-blown variations
   data to Product API response in the future versions or alternatively to introduce
   Variations API endpoint which will allow to fetch all existent variations for
   store?
 * Alternatively, if there are no such plans, how safe it is to fall back to Legacy
   API for this? Are there any plans to kill it completely, if so when?

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

 *  Plugin Support [Ryan Ray](https://wordpress.org/support/users/ryanr14/)
 * (@ryanr14)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/rest-api-variations/#post-14926386)
 * Hi [@beprofit](https://wordpress.org/support/users/beprofit/),
 * Thanks for contacting us here and explaining the issue you’re running into with
   the latest version of the API.
 * > Alternatively, if there are no such plans, how safe it is to fall back to Legacy
   API for this? Are there any plans to kill it completely, if so when?
 * I’m not aware of why functionality would’ve been removed from the API, perhaps
   it’s just been moved? Either way, I’d assume you are comfortable with GitHub 
   and if so do you mind creating an issue for that functionality. Our developers
   there are best suited to chime in with API changes and if you can still get the
   data you need out of the latest API.
 * [https://github.com/woocommerce/woocommerce/issues](https://github.com/woocommerce/woocommerce/issues)
 * Thanks!
 *  [MayKato](https://wordpress.org/support/users/maykato/)
 * (@maykato)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/rest-api-variations/#post-14951249)
 * Hi [@beprofit](https://wordpress.org/support/users/beprofit/)
 * We’ve not heard back from you in a while, so I’m marking this thread as resolved.
   If you have further questions, please feel free to open a new topic.

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

The topic ‘REST API Variations’ 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

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

 * 2 replies
 * 3 participants
 * Last reply from: [MayKato](https://wordpress.org/support/users/maykato/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/rest-api-variations/#post-14951249)
 * Status: resolved