list_inventory

Updated May 21, 20261 min read

List inventory rows with paging, sorting, search, merchant filters, location filters, stock-range filters, and update-date filters. This uses the same middleware inventory listing surface as the dashboard. Use select with json-mask syntax to trim the returned payload.

Parameters

NameTypeRequiredDescription
tenantIdstringYes
available_fromoneOfNo
available_tooneOfNo
barcodeoneOfNo
locationoneOfNo
merchantoneOfNo
on_hand_fromoneOfNo
on_hand_tooneOfNo
pageoneOfNo
page_sizeoneOfNo
product_idoneOfNo
product_refoneOfNo
reserved_fromoneOfNo
reserved_tooneOfNo
search_modestringNoValues: fuzzy, exact.
search_stringstringNo
selectstringNojson-mask expression to filter response fields.
skuoneOfNo
sort_bystringNo
sort_directionstringNoValues: asc, desc.
statusoneOfNo
tzoffsetoneOfNoTimezone offset in minutes. Defaults to 240 (Asia/Dubai).
unavailable_fromoneOfNo
unavailable_tooneOfNo
update_date_fromstringNo
update_date_tostringNo

Example agent prompt

"Show me the recent inventory."

list_inventory(
  tenantId="…"
)