Shopify Inventory Items API

Manage inventory item records

Operations 3

GET /inventory_items.json Shopify Retrieve a list of inventory items #
GET /inventory_items/{inventory_item_id}.json Shopify Retrieve a single inventory item #
PUT /inventory_items/{inventory_item_id}.json Shopify Update an inventory item #

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-items-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-items-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Admin REST About Inventory Items API
  description: The Shopify Admin REST API lets you build apps and integrations that extend and enhance the Shopify admin. Access products, customers, orders, inventory, fulfillment, and more. Endpoints are organized by resource type and versioned by release date.
  version: 2025-01
  contact:
    name: Shopify
    url: https://shopify.dev/docs/api/admin-rest
    email: api@shopify.com
  license:
    name: Shopify API Terms
    url: https://www.shopify.com/legal/api-terms
  x-date: '2026-03-04'
servers:
- url: https://{store}.myshopify.com/admin/api/2025-01
  description: Shopify Admin REST API
  variables:
    store:
      default: my-store
      description: The Shopify store subdomain
security:
- AccessToken: []
tags:
- name: Inventory Items
  description: Manage inventory item records
paths:
  /inventory_items.json:
    get:
      operationId: listInventoryItems
      summary: Shopify Retrieve a list of inventory items
      description: Retrieves a list of inventory items. Items must be fetched by IDs.
      tags:
      - Inventory Items
      parameters:
      - name: ids
        in: query
        required: true
        description: Comma-separated list of inventory item IDs
        schema:
          type: string
      - name: limit
        in: query
        description: Maximum number of results (max 250, default 50)
        schema:
          type: integer
          default: 50
          maximum: 250
      responses:
        '200':
          description: A list of inventory items
          content:
            application/json:
              schema:
                type: object
                properties:
                  inventory_items:
                    type: array
                    items:
                      $ref: '#/components/schemas/InventoryItem'
  /inventory_items/{inventory_item_id}.json:
    get:
      operationId: getInventoryItem
      summary: Shopify Retrieve a single inventory item
      description: Retrieves a single inventory item by ID.
      tags:
      - Inventory Items
      parameters:
      - name: inventory_item_id
        in: path
        required: true
        description: The ID of the inventory item
        schema:
          type: integer
      responses:
        '200':
          description: The requested inventory item
          content:
            application/json:
              schema:
                type: object
                properties:
                  inventory_item:
                    $ref: '#/components/schemas/InventoryItem'
    put:
      operationId: updateInventoryItem
      summary: Shopify Update an inventory item
      description: Updates an existing inventory item.
      tags:
      - Inventory Items
      parameters:
      - name: inventory_item_id
        in: path
        required: true
        description: The ID of the inventory item
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - inventory_item
              properties:
                inventory_item:
                  type: object
                  properties:
                    cost:
                      type: string
                      description: Unit cost of the item
                    tracked:
                      type: boolean
                      description: Whether inventory is tracked
      responses:
        '200':
          description: The updated inventory item
          content:
            application/json:
              schema:
                type: object
                properties:
                  inventory_item:
                    $ref: '#/components/schemas/InventoryItem'
components:
  schemas:
    InventoryItem:
      type: object
      description: An inventory item representing a physical product
      properties:
        id:
          type: integer
        sku:
          type:
          - string
          - 'null'
        cost:
          type:
          - string
          - 'null'
          description: Unit cost of the item
        tracked:
          type: boolean
          description: Whether inventory is tracked
        requires_shipping:
          type: boolean
        country_code_of_origin:
          type:
          - string
          - 'null'
          description: Two-letter ISO country code
        province_code_of_origin:
          type:
          - string
          - 'null'
        harmonized_system_code:
          type:
          - string
          - 'null'
          description: Harmonized System code for customs
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        admin_graphql_api_id:
          type: string
  securitySchemes:
    AccessToken:
      type: apiKey
      name: X-Shopify-Access-Token
      in: header
      description: Access token obtained via OAuth