Back to Shopify in Google Sheets
SheetXAI logo
Shopify logo
Shopify · Google Sheets Guide

Set Shopify Inventory Levels Across Multiple Locations From a Google Sheet

2026-05-15
5 min read

The Scenario

Your warehouse team finished counting. Three distribution centers, 80 product variants, updated quantities entered into Google Sheets by each location manager over the past two days. The sheet is clean and current. Shopify, however, still shows last week's numbers — and you have a buying meeting in three hours where someone will pull up live inventory during the discussion.

The bad version:

  • Open Shopify's inventory management screen, search for the first product, select the location, enter the quantity, save.
  • Repeat 80 times across three locations, switching between location dropdowns that don't always remember your selection.
  • Realize halfway through that you mis-entered a quantity for location 2, go back, find the product again, correct it.

At the pace of manual entry, you'll finish around the time the meeting ends.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent that lives inside your Google Sheet. It reads the inventory data and talks directly to Shopify's inventory levels API — no admin screen, no location-by-location navigation. You describe the columns; it handles the rest.

For each row in my Inventory Update sheet, set the Shopify inventory level for the inventory item ID in column A at location ID in column B to the quantity in column C

What You Get

  • Inventory levels updated in Shopify for each inventory item at each location, exactly as specified.
  • A status written back into column D — "updated" for each successful push, an error message for any row that returned a problem.
  • The buying meeting dashboard reflects current numbers as soon as SheetXAI finishes.

What If the Data Is Not Quite Ready

Location IDs are missing — you only have location names

For each row in my Inventory Update sheet, look up the Shopify location ID for the location name in column B, then set inventory level for item ID in column A at that location to the quantity in column C — write the resolved location ID into column D and the result into column E

Some rows have negative quantities that need to be floored at zero

For each row in my Inventory Update sheet, set Shopify inventory level for item ID in column A at location ID in column B to MAX(column C, 0) — write 'updated' in column D

Quantities come from two separate location tabs

Combine rows from my Warehouse-East sheet and my Warehouse-West sheet — for each row, set Shopify inventory for item ID in column A at location ID in column B to the quantity in column C — write the result into column D of whichever tab the row came from

Normalize quantities, skip rows flagged as pending, and write full confirmation

For each row in my Inventory Update sheet where column E does not say 'hold', set Shopify inventory for item ID in column A at location ID in column B to the quantity in column C — write 'updated' and the current timestamp into columns D and F

Handling the "hold" filter and the update in one pass means you're not doing a separate filter step before running the update.

Try It

Get the 7-day free trial of SheetXAI and open the inventory sheet your warehouse team submitted this week, then ask it to push all quantities to Shopify before the buying meeting. Next week's restock will use the same prompt. Also worth reading: how to export the full inventory snapshot for stock planning, or the hub overview for all Shopify workflows.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more