โ† API reference
Query / logistics

listWarehouseStocks

List the warehouse stock records in the caller's tenant, filtered, sorted and paginated. Requires list access to warehouse stock.

Arguments

firstInt

Maximum number of records to return in this page. Defaults to 20; values above the server's page-size limit (100) are rejected.

afterString

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.

Criteria narrowing which stock records are listed. Omit to list all records in the tenant.

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!

Scalar fields at a glance

totalCountInt
โ†— View the complete WarehouseStockConnection type

Explore in a view

Fulfillment
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.