Query / logistics
listWarehouseStocks
List the warehouse stock records in the caller's tenant, filtered, sorted and paginated. Requires list access to warehouse stock.
Arguments
firstIntMaximum number of records to return in this page. Defaults to 20; values above the server's page-size limit (100) are rejected.
afterStringCursor of the last edge of the previous page (an edge cursor); the page starts at the record immediately after it, in the requested sort order.
Criteria narrowing which stock records are listed. Omit to list all records in the tenant.
sort[WarehouseStockSortInput!]Ordering instructions; only the first entry is applied, and both its field and direction are honoured. Omit to order by creation time, newest first.
Returns WarehouseStockConnection!
Explore in a view
View exact SDL
"""
List the warehouse stock records in the caller's tenant, filtered, sorted and paginated. Requires list access to warehouse stock.
"""
listWarehouseStocks(
"""
Maximum number of records to return in this page. Defaults to 20; values above the server's page-size limit (100) are rejected.
"""
first: Int
"""
Cursor of the last edge of the previous page (an edge `cursor`); the page starts at the record immediately after it, in the requested sort order.
"""
after: String
"""
Criteria narrowing which stock records are listed. Omit to list all records in the tenant.
"""
filter: WarehouseStockFilterInput
"""
Ordering instructions; only the first entry is applied, and both its field and direction are honoured. Omit to order by creation time, newest first.
"""
sort: [WarehouseStockSortInput!]
): WarehouseStockConnection! @topic(names: ["logistics"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.