Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

nodeInventory

Fetches an object given its ID.

Served by: inventory

Name Type Description
id ID! ID of the object.

NodeInventory

Fetches one inventory item by its global ID. The inline fragment selects the InventoryItem fields; the lookup returns null when no object has that ID.

query GetNodeInventory($id: ID!) {
nodeInventory(id: $id) {
id
... on InventoryItem {
tenantID
sku
dataTypeSlug
data
createdAt
}
}
}

Variables

{
"id": "<inventory item ID>"
}