Title: Adding prodcduct meta_data
Last modified: March 29, 2017

---

# Adding prodcduct meta_data

 *  Resolved [dirkiev](https://wordpress.org/support/users/dirkiev/)
 * (@dirkiev)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/adding-prodcduct-meta_data/)
 * am trying to add products using the Woocommerce Rest API that have meta values
 * In the documentation Woocommerce REST Api Docs – Product under product properties
   there is a meta_data field which takes and array of meta data.
 * So I submit my array and the expected output which should have meta_data in the
   JSON is missing and there is no meta with the values on the WordPress site for
   that product this does not matter if I update or add a new product
 * I am trying to add products using the Woocommerce Rest API that have meta values
 * In the documentation Woocommerce REST Api Docs – Product under product properties
   there is a meta_data field which takes and array of meta data.
 * So I submit my array and the expected output which should have meta_data in the
   JSON is missing and there is no meta with the values on the WordPress site for
   that product.
 * The documentation is very limited on meta_data and have not found any examples
   on how to add it correctly for a product.
 * My **meta_data** looks like below
 *     ```
       'meta_data': [
       {'key': 'overview', 'value': 'none'}, 
       {'key': 'features', 'value': 'none'}, 
       {'key': 'our_product_id', 'value': 15}
       ]
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [dirkiev](https://wordpress.org/support/users/dirkiev/)
 * (@dirkiev)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/adding-prodcduct-meta_data/#post-8971390)
 * duplicate not sure how to close this.
 * Accidentally clicked enter when I was trying to delete part of the title

Viewing 1 replies (of 1 total)

The topic ‘Adding prodcduct meta_data’ 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/)

 * 1 reply
 * 1 participant
 * Last reply from: [dirkiev](https://wordpress.org/support/users/dirkiev/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/adding-prodcduct-meta_data/#post-8971390)
 * Status: resolved