# ItemMovement

Audience: Developer

## Services

| Service | Key | Implements |
| --- | --- | --- |
| [inventory](https://docs.pyck.cloud/api/services/inventory.md) | value type | [NodeInventory](https://docs.pyck.cloud/api/interfaces/nodeinventory.md) |

## Fields

**Served by:** [inventory](https://docs.pyck.cloud/api/services/inventory.md)

| Name | Type | Description |
| --- | --- | --- |
| `id` | ID! |  |
| `tenantID` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md)! |  |
| `dataTypeID` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md) |  |
| `dataTypeSlug` | String |  |
| `data` | [Map](https://docs.pyck.cloud/api/scalars/map.md) |  |
| `createdAt` | [Time](https://docs.pyck.cloud/api/scalars/time.md)! |  |
| `createdBy` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md)! |  |
| `updatedAt` | [Time](https://docs.pyck.cloud/api/scalars/time.md) |  |
| `updatedBy` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md) |  |
| `deletedAt` | [Time](https://docs.pyck.cloud/api/scalars/time.md) |  |
| `deletedBy` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md) |  |
| `itemID` | ID! |  |
| `fromID` | ID! |  |
| `toID` | ID! |  |
| `quantity` | [Int64](https://docs.pyck.cloud/api/scalars/int64.md)! | Units the movement moves. A create accepts 1 to 9007199254740991 (JavaScript's Number.MAX_SAFE_INTEGER) and refuses with "stock overflow" a movement that would grow a stock figure above 9007199254740991. Movements stored before this bound existed can hold other values. |
| `executed` | Boolean! |  |
| `executedAt` | [Time](https://docs.pyck.cloud/api/scalars/time.md) |  |
| `handler` | String! |  |
| `blockedBy` | [ItemMovementBlockedBy](https://docs.pyck.cloud/api/enums/itemmovementblockedby.md) |  |
| `collectionID` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md) |  |
| `orderID` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md) |  |
| `position` | Int! |  |
| `from` | [Repository](https://docs.pyck.cloud/api/types/repository.md)! |  |
| `to` | [Repository](https://docs.pyck.cloud/api/types/repository.md)! |  |
| `item` | [InventoryItem](https://docs.pyck.cloud/api/types/inventoryitem.md)! |  |
