Title: API Problem
Last modified: May 14, 2019

---

# API Problem

 *  Resolved [azideengmbh](https://wordpress.org/support/users/azideengmbh/)
 * (@azideengmbh)
 * [7 years ago](https://wordpress.org/support/topic/api-problem-5/)
 * We are using the interface of our erp system to sync our product to woocommerce.
   
   In the erp system we can set which picture is the main picture and which are 
   in the gallery. The problem is that woocommerce doesnt cares about the defined
   order and places the main picture somewhere in the gallery and the a random picture
   of the gallery as main picture.
 * Someone here who can help us?
 * ERP System is “weclapp”
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fapi-problem-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [azideengmbh](https://wordpress.org/support/users/azideengmbh/)
 * (@azideengmbh)
 * [7 years ago](https://wordpress.org/support/topic/api-problem-5/#post-11539351)
 * Push
 * Pls help us we have over 500 products and cant change all the pictures manually..
 *  [Stef](https://wordpress.org/support/users/serafinnyc/)
 * (@serafinnyc)
 * [7 years ago](https://wordpress.org/support/topic/api-problem-5/#post-11539449)
 * I would think that WECLAPP support would be better suited for this if you have
   a valid license. Have you contacted them?
 *  Thread Starter [azideengmbh](https://wordpress.org/support/users/azideengmbh/)
 * (@azideengmbh)
 * [7 years ago](https://wordpress.org/support/topic/api-problem-5/#post-11539524)
 * [@serafinnyc](https://wordpress.org/support/users/serafinnyc/) weclapp support
   wrote us that its a problem with woocommerce and not with their system thats 
   why we are here.
 *  [Stef](https://wordpress.org/support/users/serafinnyc/)
 * (@serafinnyc)
 * [7 years ago](https://wordpress.org/support/topic/api-problem-5/#post-11539556)
 * LOL sounds more like they don’t want to deal with it. That’s just not right. 
   WC isn’t responsible for their software. Is there a URL on WooCommerce website
   for this or did you integrate thru API?
 * Seeing as I can’t see any plugin I’m thinking the latter.
    -  This reply was modified 7 years ago by [Stef](https://wordpress.org/support/users/serafinnyc/).
 *  Thread Starter [azideengmbh](https://wordpress.org/support/users/azideengmbh/)
 * (@azideengmbh)
 * [7 years ago](https://wordpress.org/support/topic/api-problem-5/#post-11541797)
 * [@serafinnyc](https://wordpress.org/support/users/serafinnyc/) Yeah i thought
   something like that too. Its integrated thru API.
 *  [Stef](https://wordpress.org/support/users/serafinnyc/)
 * (@serafinnyc)
 * [7 years ago](https://wordpress.org/support/topic/api-problem-5/#post-11542681)
 * I’m not sure but have you disabled all your other plugins? Checked your API Key?
   Maybe create a new one?
 *  [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [7 years ago](https://wordpress.org/support/topic/api-problem-5/#post-11571728)
 * Hey [@azideengmbh](https://wordpress.org/support/users/azideengmbh/)
 * > I would think that WECLAPP support would be better suited for this if you have
   > a valid license. Have you contacted them?
 * I agree with Stef here – this integration will be via the API as you said, therefore
   if the API isn’t working, then it is a WooCommerce issue.
 * However, if the API POST request is wrong then this will be why the order of 
   the images is wrong.
 * On a basic level, WooCommerce is only doing what the ERP system is telling it
   to do.
 * Whatever the first image listed in the `images` data in the PUT or POST request
   will be used as the main image.
 * Full REST API details can be found here – `https://woocommerce.github.io/woocommerce-
   rest-api-docs/#products`
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.
 * Thanks,

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

The topic ‘API Problem’ 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/)
 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [Pictures](https://wordpress.org/support/topic-tag/pictures/)
 * [soap](https://wordpress.org/support/topic-tag/soap/)
 * [woocommmerce](https://wordpress.org/support/topic-tag/woocommmerce/)

 * 7 replies
 * 3 participants
 * Last reply from: [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/api-problem-5/#post-11571728)
 * Status: resolved