Title: Woocommerce API problem
Last modified: January 15, 2018

---

# Woocommerce API problem

 *  Resolved [mehrdaddy](https://wordpress.org/support/users/mehrdaddy/)
 * (@mehrdaddy)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-api-problem-2/)
 * Hello,
    Since the latest update : Added ability to import SEO data in a Taxonomy
   import. when a new product is imported while the plugin is active querying Woocommerce
   API for the imported product returns:
 * `"meta_data":{"0":{"id":124521526,"key":"_wp_page_template","value":"default"},"
   1":{"id":124521553,"key":"_regular_price_tmp","value":"146000"},"2":{"id":124521554,"
   key":"_sale_price_tmp","value":"146000"},"3":{"id":124521555,"key":"_sale_price_dates_from_tmp","
   value":""}`
 * which used to be:
 * `"meta_data":[{"id":124521526,"key":"_wp_page_template","value":"default"},{"
   id":124521553,"key":"_regular_price_tmp","value":"146000"},{"id":124521554,"key":"
   _sale_price_tmp","value":"146000"},{"id":124521555,"key":"_sale_price_dates_from_tmp","
   value":""}]`
    causing our applications working with API to malfunction, since
   it does not change the whole way of API data structure we cannot change our applications
   because it only happens for those products that have been imported while the 
   plugin was active, even after disabling it products’ structure stay malformed
   and looks like a dictionary rather than a JSON array. When I disable the plugin
   and import, all is fine.

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

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-api-problem-2/#post-9875777)
 * Hi [@mehrdaddy](https://wordpress.org/support/users/mehrdaddy/)
 * Thanks for the report, and sorry for the trouble. We were able to push an update
   with a fix for this issue. Please re-run your import with the latest update and
   let us know how it goes.
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-api-problem-2/#post-9895569)
 * Marking as resolved, but please let us know if you’re still having issues with
   this.

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

The topic ‘Woocommerce API problem’ is closed to new replies.

 * ![](https://ps.w.org/yoast-seo-settings-xml-csv-import/assets/icon-256x256.png?
   rev=2570192)
 * [WP All Import – Import SEO Settings for Yoast SEO](https://wordpress.org/plugins/yoast-seo-settings-xml-csv-import/)
 * [Support Threads](https://wordpress.org/support/plugin/yoast-seo-settings-xml-csv-import/)
 * [Active Topics](https://wordpress.org/support/plugin/yoast-seo-settings-xml-csv-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yoast-seo-settings-xml-csv-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yoast-seo-settings-xml-csv-import/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-api-problem-2/#post-9895569)
 * Status: resolved