# InventoryItemOrder

Audience: Programmer

Ordering options for InventoryItem connections

Ordering options for InventoryItem connections

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

## Fields

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `direction` | [OrderDirection](https://docs.pyck.cloud/latest/api/enums/orderdirection.md)! | `ASC` | The ordering direction. |
| `field` | [InventoryItemOrderField](https://docs.pyck.cloud/latest/api/enums/inventoryitemorderfield.md) |  | The field by which to order InventoryItems. |
| `jsonPath` | String |  | Dot-notation path into a JSONB column (e.g. "meta.weight"). |
| `jsonType` | [JSONType](https://docs.pyck.cloud/latest/api/enums/jsontype.md) |  | Cast type for the extracted JSONB value. |
