# InventoryItem

Audience: Developer

## Services

| Service | Key | Implements |
| --- | --- | --- |
| [file](https://docs.pyck.cloud/api/services/file.md) | `id tenantID` |  |
| [inventory](https://docs.pyck.cloud/api/services/inventory.md) | `sku` | [NodeInventory](https://docs.pyck.cloud/api/interfaces/nodeinventory.md) |

## Fields

| Name | Type | Description | Served by | Deprecated |
| --- | --- | --- | --- | --- |
| `id` | ID! |  | [file](https://docs.pyck.cloud/api/services/file.md), [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `tenantID` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md)! |  | [file](https://docs.pyck.cloud/api/services/file.md), [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `file` | \[[File](https://docs.pyck.cloud/api/types/file.md)\] |  | [file](https://docs.pyck.cloud/api/services/file.md) |  |
| `dataTypeID` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md) |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `dataTypeSlug` | String |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `data` | [Map](https://docs.pyck.cloud/api/scalars/map.md) |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `createdAt` | [Time](https://docs.pyck.cloud/api/scalars/time.md)! |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `createdBy` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md)! |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `updatedAt` | [Time](https://docs.pyck.cloud/api/scalars/time.md) |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `updatedBy` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md) |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `deletedAt` | [Time](https://docs.pyck.cloud/api/scalars/time.md) |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `deletedBy` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md) |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `sku` | String! |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `itemset` | \[[InventoryItemSet](https://docs.pyck.cloud/api/types/inventoryitemset.md)!\] |  | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `itemstocks` | \[[Stock](https://docs.pyck.cloud/api/types/stock.md)!\] | The current stock row of each repository where the item has stock: rows whose<br>stock values are all zero are omitted. Refused above 10000 rows; query<br>currentStocks for such items. The stock history is available through stocks. | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `currentStockTotals` | [InventoryItemStockTotals](https://docs.pyck.cloud/api/types/inventoryitemstocktotals.md)! | Totals over the item's current stock rows, for list views that show one line<br>per item: read it instead of summing itemstocks on the client. | [inventory](https://docs.pyck.cloud/api/services/inventory.md) |  |
| `itemmovementitems` | \[[ItemMovement](https://docs.pyck.cloud/api/types/itemmovement.md)!\] | The item's 200 most recent movements. | [inventory](https://docs.pyck.cloud/api/services/inventory.md) | Capped at 200 rows; query itemMovements(where: {itemID}) to paginate. |
| `itemtransactions` | \[[Transaction](https://docs.pyck.cloud/api/types/transaction.md)!\] | The item's 200 most recent transactions. | [inventory](https://docs.pyck.cloud/api/services/inventory.md) | Capped at 200 rows; query transactions(where: {itemID}) to paginate. |
