Shopify Inventory API

The Inventory API from Shopify — 43 operation(s) for inventory.

Business capability
Inventory Management BC-530

Operations 30

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /admin/api/2020-01/inventory_items.json Look up inventory items by ID (2020-01) · Shopify Retrieves A List Of Inventory Items #
Ask an LLM
“How do I fetch several inventory items at once by their IDs with the 2020-01 API?”
“Is there a cap on how many inventory item IDs version 2020-01 accepts?”
Tell an agent
Get inventory items {ids} using version 2020-01.
On 2020-01, look up inventory items {ids}, at most {limit} per page.
GET /admin/api/2020-04/inventory_items.json Look up inventory items by ID (2020-04) · Shopify Retrieves A List Of Inventory Items #
Ask an LLM
“Can I pull SKU and cost details for a batch of inventory items on release 2020-04?”
“What's the page size limit when listing inventory items in 2020-04?”
Tell an agent
Fetch the inventory item records {ids} via 2020-04.
Using 2020-04, return up to {limit} inventory items from the list {ids}.
GET /admin/api/2020-07/inventory_items.json Look up inventory items by ID (2020-07) · Shopify Retrieves A List Of Inventory Items #
Ask an LLM
“Is there a 2020-07 endpoint that retrieves a list of inventory items?”
“Can the 2020-07 version return inventory items for a comma-separated ID list?”
Tell an agent
Retrieve inventory items {ids} through API version 2020-07.
Page through inventory items {ids} {limit} at a time on 2020-07.
GET /admin/api/2020-10/inventory_items.json Look up inventory items by ID · Shopify Retrieves A List Of Inventory Items #
Ask an LLM
“What call lists inventory items by ID in the 2020-10 Admin API?”
“How many inventory items can I request in one 2020-10 call?”
Tell an agent
List inventory items {ids} with the 2020-10 Admin API.
Using 2020-10, show me inventory items {ids}, limited to {limit} results.
GET /admin/api/2021-01/inventory_items.json Look up inventory items by ID (2021-01) · Shopify Retrieves A List Of Inventory Items #
Ask an LLM
“Does the January 2021 (2021-01) API let me list inventory items?”
“Can I check whether items are tracked for inventory on 2021-01?”
Tell an agent
Show inventory items {ids} via the 2021-01 version.
With API version 2021-01, load at most {limit} inventory items for IDs {ids}.
GET /admin/api/unstable/inventory_items.json Look up inventory items by ID (unstable) · Shopify Retrieves A List Of Inventory Items #
Ask an LLM
“Can I list inventory items through the unstable Admin API?”
“Does the unstable version filter inventory items by ID?”
Tell an agent
Get inventory items {ids} against the unstable API.
Use the unstable endpoint to read inventory item records {ids}.
GET /admin/api/2020-01/inventory_levels.json List stock levels by item or location (2020-01) · Shopify Retrieves A List Of Inventory Levels #
Ask an LLM
“How can I see available quantities for several items across locations using 2020-01?”
“Can version 2020-01 show inventory levels changed since a date?”
Tell an agent
List inventory levels for items {inventory_item_ids} with API version 2020-01.
On 2020-01, show stock levels at locations {location_ids} updated after {updated_at_min}.
POST /admin/api/2020-01/inventory_levels/adjust.json Add or subtract available stock (2020-01) · Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location #
Ask an LLM
“How do I add received stock to an item's count at one location with the 2020-01 API?”
“Can I subtract units from available inventory by sending a negative number in 2020-01?”
Tell an agent
Adjust available stock of item {inventory_item_id} at location {location_id} by {available_adjustment} using 2020-01.
On version 2020-01, change inventory for {inventory_item_id} at {location_id} by {available_adjustment} units.
POST /admin/api/2020-01/inventory_levels/set.json Set the exact available stock (2020-01) · Shopify Sets The Inventory Level For An Inventory Item At A Location #
Ask an LLM
“How do I overwrite an item's stock count at a location with an exact number using 2020-01?”
“Can version 2020-01 set inventory after a physical stock count?”
Tell an agent
Set available stock of item {inventory_item_id} at location {location_id} to {available} using 2020-01.
On version 2020-01, record a stock count of {available} for {inventory_item_id} at {location_id}.
GET /admin/api/2020-04/inventory_levels.json List stock levels by item or location (2020-04) · Shopify Retrieves A List Of Inventory Levels #
Ask an LLM
“Can I query stock on hand for a group of items and warehouses on release 2020-04?”
“What's the maximum number of location IDs I can filter by in 2020-04?”
Tell an agent
Get inventory levels for items {inventory_item_ids} at locations {location_ids} via 2020-04.
Using 2020-04, list available stock across locations {location_ids}.
POST /admin/api/2020-04/inventory_levels/adjust.json Add or subtract available stock (2020-04) · Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location #
Ask an LLM
“Can I increment stock after a delivery arrives using release 2020-04?”
“Does the 2020-04 adjust call change quantity relative to what's already there?”
Tell an agent
Increment item {inventory_item_id} at {location_id} by {available_adjustment} via 2020-04.
Using 2020-04, apply a stock adjustment of {available_adjustment} to {inventory_item_id} in location {location_id}.
POST /admin/api/2020-04/inventory_levels/set.json Set the exact available stock (2020-04) · Shopify Sets The Inventory Level For An Inventory Item At A Location #
Ask an LLM
“Can I connect an item to a new location and set its quantity with release 2020-04?”
“What does disconnect_if_necessary do when setting stock in 2020-04?”
Tell an agent
Set item {inventory_item_id} at {location_id} to exactly {available} units via 2020-04.
Using 2020-04, set {inventory_item_id} to {available} at location {location_id}, disconnecting other locations if needed ({disconnect_if_necessary}).
GET /admin/api/2020-07/inventory_levels.json List stock levels by item or location (2020-07) · Shopify Retrieves A List Of Inventory Levels #
Ask an LLM
“Is there a 2020-07 endpoint to list inventory levels across multiple locations?”
“Can the 2020-07 version return only stock levels that changed recently?”
Tell an agent
Retrieve inventory levels changed since {updated_at_min} at locations {location_ids} through 2020-07.
Pull stock counts for inventory items {inventory_item_ids} on 2020-07.
POST /admin/api/2020-07/inventory_levels/adjust.json Add or subtract available stock (2020-07) · Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location #
Ask an LLM
“Is there a 2020-07 endpoint to adjust available inventory at a single location?”
“Can I record shrinkage or damaged units as a negative adjustment on 2020-07?”
Tell an agent
Record a stock change of {available_adjustment} for item {inventory_item_id} at location {location_id} through 2020-07.
Decrease or increase {inventory_item_id} at {location_id} by {available_adjustment} on the 2020-07 API.
POST /admin/api/2020-07/inventory_levels/set.json Set the exact available stock (2020-07) · Shopify Sets The Inventory Level For An Inventory Item At A Location #
Ask an LLM
“Is there a 2020-07 endpoint to set an absolute inventory quantity at one location?”
“Can I reset a location's stock to zero on 2020-07?”
Tell an agent
Reset stock of {inventory_item_id} at location {location_id} to {available} through 2020-07.
Overwrite the available quantity for item {inventory_item_id} in {location_id} with {available} on the 2020-07 API.
GET /admin/api/2020-10/inventory_levels.json List stock levels by item or location · Shopify Retrieves A List Of Inventory Levels #
Ask an LLM
“What call lists inventory levels for many items in the 2020-10 Admin API?”
“Which filters narrow down inventory levels on 2020-10 — items, locations, or update date?”
Tell an agent
List inventory levels for items {inventory_item_ids} with the 2020-10 Admin API.
Using 2020-10, show stock at locations {location_ids} for items {inventory_item_ids}.
POST /admin/api/2020-10/inventory_levels/adjust.json Add or subtract available stock · Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location #
Ask an LLM
“What call adjusts an item's available quantity by a delta in the 2020-10 Admin API?”
“Can I bump stock up or down at one location without knowing the current count on 2020-10?”
Tell an agent
Adjust inventory item {inventory_item_id} at location {location_id} by {available_adjustment} with the 2020-10 Admin API.
Using 2020-10, add {available_adjustment} units to item {inventory_item_id} at {location_id}.
POST /admin/api/2020-10/inventory_levels/set.json Set the exact available stock · Shopify Sets The Inventory Level For An Inventory Item At A Location #
Ask an LLM
“What call sets an item's exact available quantity in the 2020-10 Admin API?”
“When I set stock on 2020-10, can other connected locations be zeroed and disconnected?”
Tell an agent
Set inventory item {inventory_item_id} at location {location_id} to {available} with the 2020-10 Admin API.
Using 2020-10, make {available} the on-hand count for {inventory_item_id} at {location_id}, with disconnect_if_necessary {disconnect_if_necessary}.
GET /admin/api/2021-01/inventory_levels.json List stock levels by item or location (2021-01) · Shopify Retrieves A List Of Inventory Levels #
Ask an LLM
“Does the January 2021 (2021-01) API let me list inventory levels in bulk?”
“Can I sync inventory changes since my last run on 2021-01?”
Tell an agent
Sync inventory levels updated after {updated_at_min} across {location_ids} via the 2021-01 version.
With API version 2021-01, fetch stock levels for items {inventory_item_ids}.
POST /admin/api/2021-01/inventory_levels/adjust.json Add or subtract available stock (2021-01) · Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location #
Ask an LLM
“Does the January 2021 (2021-01) API support relative inventory adjustments?”
“Can I remove sold-offline units from a location's stock on 2021-01?”
Tell an agent
Remove sold-offline units: adjust {inventory_item_id} at {location_id} by {available_adjustment} via 2021-01.
With API version 2021-01, shift available stock for item {inventory_item_id} at location {location_id} by {available_adjustment}.
POST /admin/api/2021-01/inventory_levels/set.json Set the exact available stock (2021-01) · Shopify Sets The Inventory Level For An Inventory Item At A Location #
Ask an LLM
“Does the January 2021 (2021-01) API let me set absolute stock levels?”
“Can I sync counts from my warehouse system by setting exact quantities on 2021-01?”
Tell an agent
Sync the warehouse count: set {inventory_item_id} at {location_id} to {available} via 2021-01.
With API version 2021-01, fix available stock for item {inventory_item_id} at location {location_id} at {available}.
GET /admin/api/unstable/inventory_levels.json List stock levels by item or location (unstable) · Shopify Retrieves A List Of Inventory Levels #
Ask an LLM
“Can I list inventory levels through the unstable Admin API?”
“Does the unstable version filter stock levels by location IDs?”
Tell an agent
Get inventory levels at locations {location_ids} against the unstable API.
Use the unstable endpoint to list stock for items {inventory_item_ids} at {location_ids}.
POST /admin/api/unstable/inventory_levels/adjust.json Add or subtract available stock (unstable) · Shopify Adjusts The Inventory Level Of An Inventory Item At A Single Location #
Ask an LLM
“Can I adjust inventory levels through the unstable Admin API?”
“Does the unstable version accept negative inventory adjustments?”
Tell an agent
Adjust stock for {inventory_item_id} at {location_id} by {available_adjustment} against the unstable API.
Use the unstable endpoint to modify available quantity of item {inventory_item_id} at location {location_id} by {available_adjustment}.
POST /admin/api/unstable/inventory_levels/set.json Set the exact available stock (unstable) · Shopify Sets The Inventory Level For An Inventory Item At A Location #
Ask an LLM
“Can I set inventory levels through the unstable Admin API?”
“Does the unstable version support connecting an item to a location while setting stock?”
Tell an agent
Set stock for {inventory_item_id} at {location_id} to {available} against the unstable API.
Use the unstable endpoint to assign {available} available units to item {inventory_item_id} at location {location_id}.
GET /admin/api/2020-01/locations/{location_id}/inventory_levels.json List all stock held at one location (2020-01) · Shopify Retrieves A List Of Inventory Levels For A Location #
Ask an LLM
“How do I see everything stocked at a single warehouse with the 2020-01 API?”
“Can version 2020-01 list inventory levels scoped to one location ID?”
Tell an agent
List all inventory levels at location {location_id} using 2020-01.
On version 2020-01, show every item's stock held at warehouse {location_id}.
GET /admin/api/2020-04/locations/{location_id}/inventory_levels.json List all stock held at one location (2020-04) · Shopify Retrieves A List Of Inventory Levels For A Location #
Ask an LLM
“Can I audit one store location's inventory with release 2020-04?”
“Which endpoint in 2020-04 returns the stock levels of a given location?”
Tell an agent
Audit the inventory at location {location_id} via 2020-04.
Using 2020-04, get the stock levels belonging to location {location_id}.
GET /admin/api/2020-07/locations/{location_id}/inventory_levels.json List all stock held at one location (2020-07) · Shopify Retrieves A List Of Inventory Levels For A Location #
Ask an LLM
“Is there a 2020-07 endpoint for a single location's inventory levels?”
“Can I check what a retail store has on hand using 2020-07?”
Tell an agent
Retrieve on-hand stock for store location {location_id} through API version 2020-07.
Show what location {location_id} holds on 2020-07.
GET /admin/api/2020-10/locations/{location_id}/inventory_levels.json List all stock held at one location · Shopify Retrieves A List Of Inventory Levels For A Location #
Ask an LLM
“What call lists a location's inventory levels in the 2020-10 Admin API?”
“Can I pull the full stock sheet for one warehouse on version 2020-10?”
Tell an agent
List inventory levels for location {location_id} with the 2020-10 Admin API.
Using 2020-10, pull the full stock sheet of warehouse {location_id}.
GET /admin/api/2021-01/locations/{location_id}/inventory_levels.json List all stock held at one location (2021-01) · Shopify Retrieves A List Of Inventory Levels For A Location #
Ask an LLM
“Does the January 2021 (2021-01) API list stock for a single location?”
“Can I review a pop-up shop's inventory by location on 2021-01?”
Tell an agent
Review the inventory of pop-up location {location_id} via the 2021-01 version.
With API version 2021-01, fetch every inventory level at location {location_id}.
GET /admin/api/unstable/locations/{location_id}/inventory_levels.json List all stock held at one location (unstable) · Shopify Retrieves A List Of Inventory Levels For A Location #
Ask an LLM
“Can I list a location's inventory through the unstable Admin API?”
“Is per-location stock listing supported on the unstable version?”
Tell an agent
Get stock levels at location {location_id} against the unstable API.
Use the unstable endpoint to list inventory held by location {location_id}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopify-inventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopify-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Inventory API
  description: Explore Shopify's API reference and templating documentation. Shopify provides a range of software tools, app templates, example apps, and libraries to accelerate your development process. The Admin API lets you build apps and integrations that extend and enhance the Shopify admin.
  version: 2020-10
tags:


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/shopify/refs/heads/main/openapi/shopify-inventory-api-openapi.yml