Shopify fetch_stock APi can only use sku?

Hi everyone,

We are using ‘fetch_stock’ to keep updating the inventory of an individual SKU.

But a bit confused:

  1. According to the docs, when Shopify calls a ‘fetch_stock’ api form our server, it the ‘SKU’ field to request for the stock.Isn’t there be a problem when different apps have same ‘SKU’?

  2. Except using ‘fetch_stock’(or ‘SKU’), is there any other way to let Shopify to update the stock from our server?

Any feedback and help will be greatly appreciated.
Thanks

Hey @SpaceyLamb

In the Fetch Stock API, The SKU is the only way that Shopify identifies the Product Variant when the fetch is made. SKU’s should be unique. Hope that helps!

thanks, that’s helps

Would you please add barcode?