Skip to main content

ItemAllocation

The item allocation type represents the allocation information for an order item.

type ItemAllocation {
allocatedItem: OrderItem!
committed: Boolean!
createdAt: ISO8601DateTime!
id: ID!
inventoryAllocationId: ID!
inventoryItem: InventoryItem!
location: Location
locationId: ID
quantity: Int!
updatedAt: ISO8601DateTime!
warehouse: Warehouse
warehouseId: ID
}

Fields​

ItemAllocation.allocatedItem ● OrderItem! non-null object orders​

The order item object that is allocated.

ItemAllocation.committed ● Boolean! non-null scalar common​

The flag that indicates if the item was already commited

ItemAllocation.createdAt ● ISO8601DateTime! non-null scalar common​

ItemAllocation.id ● ID! non-null scalar common​

ItemAllocation.inventoryAllocationId ● ID! non-null scalar common​

ItemAllocation.inventoryItem ● InventoryItem! non-null object inventory​

The inventory item object of the allocation item.

ItemAllocation.location ● Location object warehouses​

The location where the item is allocated.

ItemAllocation.locationId ● ID scalar common​

The location ID where the item is allocated.

ItemAllocation.quantity ● Int! non-null scalar common​

The quantity of the order item that is allocated.

ItemAllocation.updatedAt ● ISO8601DateTime! non-null scalar common​

ItemAllocation.warehouse ● Warehouse object warehouses​

The warehouse where the item is allocated.

ItemAllocation.warehouseId ● ID scalar common​

The warehouse ID where the item is allocated.

Member Of​

OrderItem object ● OrderItemAllocationStatus object