Play

Sync Shopify product inventory with Airtable

Updating your Shopify inventory with Airtable is one of the most common use cases that we see our clients implementing. You can update the inventory for a particular product/variant, track how much inventory you have in stock, share inventory information with vendors, or bulk update Shopify inventory as needed.

Before we show how to store and update Shopify inventory in Airtable using AirPower, it’s important to explain just how Shopify stores inventory quantities. In Shopify inventory quantities are related to variants, not products. This is always the case, even if you haven’t added variants to a product as Shopify always auto-creates a variant for a product in its own database. This inventory-variant relationship is important to understand as we set up inventory tracking/updates in Airtable.

AirPower supports Shopify’s various inventory quantity types. You can sync any inventory type from Shopify to Airtable; only the Available quantity can sync both ways (Airtable to Shopify and Shopify to Airtable). All other inventory types sync Shopify to Airtable only, including:

  • Available: sellable units (bi-directional sync).
  • Committed: units on open orders.
  • Damaged: unsellable inventory.
  • Incoming: stock on purchase orders or transfers.
  • On hand: physical units at a location.
  • Quality Control: units under inspection/QA.
  • Reserved: held in carts/POS.
  • Safety Stock: buffer inventory you keep aside.

If you need to push an adjustment back to Shopify, do it via the Available quantity; everything else is view-only in Airtable and reflects Shopify’s source of truth.

How to set up Shopify → Airtable inventory sync

  1. Create a Shopify → Airtable sync profile. Name it, choose your base, and start with Products and Variants because inventory is scoped to variants.
  2. Let AirPower create the default Products and Variants tables (or point to your existing ones). It adds the common fields automatically and you can add/remove fields or metafields at any time.
  3. Open the Inventory section. Tell AirPower where your variant data lives (Variants table if you have many variants per product; Products table if each product has one variant).
  4. Add inventory columns per location. Choose the inventory type (e.g., Available, Reserved), pick the Shopify location (e.g., Primary Warehouse), and name the Airtable column. If the column does not exist, use AirPower’s prompt to create it automatically. Repeat for any other inventory types you want to track (all are Shopify → Airtable).
  5. Save the profile, then pre-populate by running a Load all existing data from the Advanced menu to pull historical product, variant, and inventory data into Airtable. After that, Shopify updates flow in automatically.

How to sync inventory back from Airtable to Shopify

  1. Create an Airtable → Shopify sync profile. Name it, select your base, and point Products and Variants to the existing tables you just synced. You do not need to map other product fields if you only want to push inventory.
  2. Open Inventory, select the Variants table, and choose your primary location’s Available inventory column. Available is the only inventory type that can sync Airtable → Shopify.
  3. Save the profile and run the sync from the dashboard. AirPower will push the Available inventory for every mapped variant back to Shopify. Edit inventory values in Airtable whenever you need, then rerun the Airtable → Shopify sync to update Shopify.

Storing inventory information on variants table

This is the way to set-up inventory syncing if you have multiple variants per product, and therefore your variants live in their own table. AirPower allows you to set up individual columns to track the inventory quantity at each location where the variant is stored. So, for example, if you have three locations you can track a variant’s quantity at each location by modifying the relevant column data for the variant row.

To enable this simply set the table that AirPower should sync inventory data to/from to be the same as the table where you are storing your variants (in the example screenshot below the table name is “Variants”). The moment you do this you will see a new section within the inventory configuration called Columns Containing Inventory Quantities. Here you can specify the columns that will track a variant’s inventory at each location you have. You can create as many columns as you have inventory locations defined in Shopify. You’ll need to select the Location you’d like to sync for each column, and the name of the column in your table.

Our Expanded template base for integrating Airtable and Shopify is set up in this manner, with a single column to sync inventory quantity information.

Storing inventory and variant information on products table

This is the inventory sync set-up if you have only one variant per product, and therefore your variants live on the same table as your products. AirPower allows you to set up individual columns to track the inventory quantity at each location where the variant is stored. So, for example, if you have three locations you can track a variant’s quantity at each location by modifying the relevant column data for the variant row.

To enable this simply set the table that AirPower should sync inventory data to/from to be the same as the table where you are storing your products (in the example screenshot below the table name is “Products”). This should also be the same table where you are syncing your variant data. In other words, your inventory, variant, and product configurations should sync to the same table. The moment you do this you will see a new section within the inventory configuration called Columns Containing Inventory Quantities. Here you can specify the columns that will track a variant’s inventory at each location you have. You can create as many columns as you have inventory locations defined in Shopify. You’ll need to select the Location you’d like to sync for each column, and the name of the column in your table.

Our Compact template base for integrating Airtable and Shopify is set up in this manner, with a single column to sync inventory quantity information, and inventory, products, and variants living on the same table.