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
| Name | Type | Required | Description |
|---|---|---|---|
tenantId | string | Yes | — |
available_from | oneOf | No | — |
available_to | oneOf | No | — |
barcode | oneOf | No | — |
location | oneOf | No | — |
merchant | oneOf | No | — |
on_hand_from | oneOf | No | — |
on_hand_to | oneOf | No | — |
page | oneOf | No | — |
page_size | oneOf | No | — |
product_id | oneOf | No | — |
product_ref | oneOf | No | — |
reserved_from | oneOf | No | — |
reserved_to | oneOf | No | — |
search_mode | string | No | Values: fuzzy, exact. |
search_string | string | No | — |
select | string | No | json-mask expression to filter response fields. |
sku | oneOf | No | — |
sort_by | string | No | — |
sort_direction | string | No | Values: asc, desc. |
status | oneOf | No | — |
tzoffset | oneOf | No | Timezone offset in minutes. Defaults to 240 (Asia/Dubai). |
unavailable_from | oneOf | No | — |
unavailable_to | oneOf | No | — |
update_date_from | string | No | — |
update_date_to | string | No | — |
Example agent prompt
"Show me the recent inventory."
list_inventory(
tenantId="…"
)