Inventory Items
Inventory Items Query
Returns a paginated list of InventoryItem objects, with optional filtering and ordering.
Arguments
after
Cursor
Returns the elements in the list that come after the specified cursor
first
Int
Returns the first n elements from the list
before
Cursor
Returns the elements in the list that come before the specified cursor
last
Int
Returns the last n elements from the list
orderBy
InventoryItemOrder
Ordering options for InventoryItems returned from the connection
where
InventoryItemWhereInput
Filtering options for InventoryItems returned from the connection
Return Type
InventoryItemConnection! - A connection to a list of InventoryItem objects with pagination information.
Notes
The
datafield contains custom item attributes as JSONUse
Data,DataHasKey,DataIn, andDataContainsfilters for querying JSON dataSee Advanced JSON Field Queries for detailed JSON query examples
Usage Example
Last updated
Was this helpful?
