Title: API support
Last modified: July 23, 2017

---

# API support

 *  Resolved [shopvoid](https://wordpress.org/support/users/shopvoid/)
 * (@shopvoid)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/api-support-3/)
 * Hi
    I am trying to import and export (push, put, json) via the WooCommerce API;
   I can get the Brand ID and name pulled from Website, but cannot push it back 
   to the website.
 * Does the plugin support the API, and if so what are the correct json codes please?
   
   thx Neil

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

 *  Plugin Contributor [titodevera](https://wordpress.org/support/users/titodevera/)
 * (@titodevera)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/api-support-3/#post-9347806)
 * Hi shopvoid!
 * The new version (1.5.2) adds new features for working with the WooCommerce REST
   API. Please, update PWB and check this example:
 *     ```
       $data = [
       'brands' => ['1','2']
       ];
       $results = $woocommerce->put('products/53', $data);
       ```
   
 * Thanks!
 *  [gremlindeg](https://wordpress.org/support/users/gremlindeg/)
 * (@gremlindeg)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/api-support-3/#post-9567797)
 * Hello,titodevera. Thanks for your plugin:)
    i have a question about API supprot.
   How can i add list of brands? i’am trying smt like this $woocommerce->put(‘products/
   brands’, $data); or $woocommerce->put(‘brands’, $data); or $woocommerce->post(‘
   brands’, $data); but it’s not working 🙁
    -  This reply was modified 8 years, 5 months ago by [gremlindeg](https://wordpress.org/support/users/gremlindeg/).

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

The topic ‘API support’ is closed to new replies.

 * ![](https://ps.w.org/perfect-woocommerce-brands/assets/icon-256x256.jpg?rev=2912506)
 * [Perfect Brands for WooCommerce](https://wordpress.org/plugins/perfect-woocommerce-brands/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/perfect-woocommerce-brands/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/perfect-woocommerce-brands/)
 * [Active Topics](https://wordpress.org/support/plugin/perfect-woocommerce-brands/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/perfect-woocommerce-brands/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/perfect-woocommerce-brands/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [gremlindeg](https://wordpress.org/support/users/gremlindeg/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/api-support-3/#post-9567797)
 * Status: resolved