list_inventory

Updated September 9, 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_fromnumber or stringNo
available_tonumber or stringNo
barcodearray or stringNo
inventory_keyarray or stringNo
locationarray or stringNo
merchantarray or stringNo
on_hand_fromnumber or stringNo
on_hand_tonumber or stringNo
pagenumber or stringNo
page_sizenumber or stringNo
product_idarray or stringNo
product_refarray or stringNo
reserved_fromnumber or stringNo
reserved_tonumber or stringNo
search_modestringNoValues: fuzzy, exact.
search_stringstringNo
selectstringNojson-mask expression to filter response fields.
skuarray or stringNo
sort_bystringNo
sort_directionstringNoValues: asc, desc.
statusarray or stringNo
tzoffsetnumber or stringNoTimezone offset in minutes. Defaults to 240 (Asia/Dubai).
unavailable_fromnumber or stringNo
unavailable_tonumber or stringNo
update_date_fromstringNo
update_date_tostringNo

Example agent prompt

"Show me the recent inventory."

list_inventory(
  tenantId="…"
)