Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Inventory → Get

AI-generated

Summary

Retrieve a Shopify inventory item by its global ID, with optional origin details, unit cost, related variant/product data, and inventory quantities by location.

Inputs

  • authentication — Choose Admin API credentials (default) or Shopify OAuth2.
  • inventoryItemId (required) — Shopify global ID of the inventory item to retrieve.
  • returnFields — Additional field groups to request: inventory levels, origin/HS code, unit cost, and variant/product. Defaults to origin, unit cost, and variant; core identity fields are always returned.
  • inventoryReadOptions — Optional location inventory settings: include inventory levels (default false), limit levels to 1–250 (default 25), and select quantity states (default available). Supported states also include committed, damaged, incoming, on_hand, quality_control, reserved, and safety_stock.
  • outputMode — Choose Simplified (default), Raw, or Selected Fields output.
  • selectedFields — Fields to retain when Output Mode is Selected Fields.

Output shape

A single inventory item record, formatted according to the selected output mode.

Optional data depends on the requested field groups and inventory level settings. The supplied source contains signatures only, so the exact output fields, raw response envelope, missing-item behavior, and interaction between the two inventory-level inclusion controls are not shown.

Links

Discussion