Title: Sync products from API
Last modified: April 30, 2020

---

# Sync products from API

 *  [xvibg](https://wordpress.org/support/users/xvibg/)
 * (@xvibg)
 * [6 years ago](https://wordpress.org/support/topic/sync-products-from-api/)
 * Hello!
 * I have CRM which have API with all added products. I want to made some bridge
   between my CRM and woocommerce to sync all products.
 * Sample for api output:
    `[{"title":"Test Product","category":"Category","variations":[{"
   label":"Color","values":["red","blue","green"]},{"label":"Size","values":["S","
   M","L"]}],"photos":["img_5ea31ba386e79_1587747747.png","img_5ea31ba3a9e43_1587747747.
   png"],"stock":125,"price":25,"promo_price":1,"availability":"enabled"}]`
 * My question is, is there any plugin which I can use for base and to upgrade it
   for my needs or I should do all custom solution?
 * Thanks!

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [6 years ago](https://wordpress.org/support/topic/sync-products-from-api/#post-12759771)
 * There are lots of WooCommerce extensions. You might try asking in their dedicated
   support forum for suggestions. The folks there would have a much better idea 
   of what’s available.
 * That said, because of the unique data structure, I’m doubtful any plugin would
   be much help. It’s mainly a matter of json_decode(), wp_update_post(), and update_post_meta()
   along with some data juggling and sanitation.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years ago](https://wordpress.org/support/topic/sync-products-from-api/#post-12760795)
 * Moved to Fixing WordPress, this is not an Developing with WordPress topic.
 * Please ask plugin specific questions in that plugin’s dedicated sub-forum instead.
 * [https://wordpress.org/support/plugin/woocommerce/#new-post](https://wordpress.org/support/plugin/woocommerce/#new-post)

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

The topic ‘Sync products from API’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/sync-products-from-api/#post-12760795)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
