Inventory Levels¶
Superseded by Inventory Levels v2
For a new integration, use Inventory Levels v2. It sends 20 records to a request, checks against the quantity Shopify holds when you ask it to, and has bulk operations. The Inventory Levels push remains for integrations built on it.
The Inventory Levels push sets the available quantity of an inventory item at a location. Each record sets one quantity:
- Inventory Item Id: the variant's inventory item. The Product Variants pull reads it.
- Location Id: the location. Open the location in the Shopify admin and read the number at the end of its address, or use a lookup.
- Available: the quantity.
- Disconnect If Necessary:
Truelets Shopify disconnect the item from a fulfillment service's location, at a stock of 0, when Shopify can't stock the item at both. Shopify ignores it when no fulfillment service is involved.
The push uses Shopify's REST Admin API, and Shopify has made that API a legacy API.
The push needs write_inventory. See Access Scopes.