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

nodesInventory

Lookup nodes by a list of IDs.

Served by: inventory

Name Type Description
ids [ID!]! The list of node IDs.

[NodeInventory]!

Fetches several inventory items by their global IDs in one request. The result has one entry per ID, in the order of the IDs, and null for an ID that matches no object.

query GetNodesInventory($ids: [ID!]!) {
nodesInventory(ids: $ids) {
id
... on InventoryItem {
tenantID
sku
dataTypeSlug
data
createdAt
}
}
}

Variables

{
"ids": [
"<inventory item ID>"
]
}