title: Woocommerce API - Products featured images
body: <p>I'm using the Woocommerce API to save products into my store. The problem is that I can't set the featured image or main image to the product, they are all saved into the image gallery of the product but I can't find how to set that main image trough the API or if I have to make it work trough the Database... I don't want to go product by product setting that main image...</p>
  
  <p><a href="https://i.stack.imgur.com/EgzYi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EgzYi.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/bZ84H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bZ84H.png" alt="enter image description here"></a></p>