What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Updating Shopify Inventory (and by extension Products) via Google Sheet PUT Request

Updating Shopify Inventory (and by extension Products) via Google Sheet PUT Request

Anil_P_Patel
Visitor
1 0 0

Hello Community,

 

We are trying to use a Google Sheet (via Google Script) to update 900+ SKUs (all with their unique variant_ID) using following this documentation: https://shopify.dev/api/admin-rest/2021-10/resources/inventorylevel#top

 

However, we can't seem to get it work. This is the JSON string we want to pass through. Help please!

 

"product": {

"id": "XXXXXXXXXXXXX",

"variants": [

{

"id": "XXXXXXXXXXXX",

"inventory_quantity": 100,

"amount": 3.15,

"published_scope": "web"

Replies 0 (0)