How do I add location and inventory in product while I create a product in shopify using Api?

Q_2
Shopify Partner
27 0 0

Currently I'm adding a product in shopify using both way of api one is using rest api and second is using graphql api but 

my private app created in partner use old version so  shopify gives warning now to use latest version.

 

As you can see : https://prnt.sc/shcw8p

 

So now How can I add location and Inventory in added product?

Is there any api to add inventory at specified location during create product?

Please help.

 

0 Likes
SBD_
Shopify Staff
Shopify Staff
1043 141 183