list_products

Updated May 21, 20261 min read

List products for a merchant with paging, sorting, search, and exact-match product filters. This uses the same middleware product listing surface as the dashboard. Use select with json-mask syntax to trim the returned payload.

Parameters

NameTypeRequiredDescription
merchantstringYes
tenantIdstringYes
barcodeoneOfNo
pageoneOfNo
page_sizeoneOfNo
product_idoneOfNo
product_refoneOfNo
search_modestringNoValues: fuzzy, exact.
search_stringstringNo
selectstringNojson-mask expression to filter response fields.
skuoneOfNo
sort_bystringNoValues: barcode, description, hs_code, manufacturer_id, product_ref, sku.
sort_directionstringNoValues: asc, desc.
statusoneOfNo

Example agent prompt

"Show me the recent products."

list_products(
  tenantId="…",
  merchant="acme"
)