TanqoryDocs

inventoryLevel

  • Query
  • Inventory and fulfillment

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

InventoryLevel

FieldTypeDescription
canDeactivateBoolean!
createdAtDateTime!
deactivationAlertString
idID!
isActiveBoolean!
itemInventoryItem!
locationLocation!
quantities[InventoryQuantity!]!
scheduledChangesInventoryScheduledChangeConnection!

Deprecated

tanqoryExtBinNameString

Where the item is kept at this location (shelf, aisle or bin). Null when none is set.

tanqoryExtQuantitySources[TanqoryExtInventoryQuantitySource!]!

The records that make up one quantity of this level, oldest first within each kind. committed: the orders that claimed units here and have not fulfilled them, the draft orders reserving units here, and the transfers marked ready to ship from here that have not shipped them. incoming: the transfers and purchase orders with units shipped here and not received yet. Any other name answers an empty list. Units the records do not account for (an app's own changes) are not listed.

updatedAtDateTime!

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query InventoryLevel($id: ID!) {\n  inventoryLevel(id: $id) {\n    canDeactivate\n    createdAt\n    deactivationAlert\n    id\n    isActive\n    item { id }\n    location { id }\n    tanqoryExtBinName\n    updatedAt\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10