API to update product Inventory and Price

fragranzaUk
Tourist
13 0 1

Hi,

I am writing an app for my personal website to consume REST API and update Variant price and Inventory. I had a look in API docs but I could not find a REST call to update the variant by SKU. Is there anything I am missing or there is no API call to update the variant using SKU. 

I am not looking for 3rd party paid app to achieve this.  I know one solution would be to download all products and keep a local database of SKU and Shopify Variant ID. Then use Variant ID to update Price and inventory. But I was thinking there should be a way to use my SKU to update products.

 

Please Help.

 

Thanks

 

0 Likes