get_product
Updated May 21, 20261 min read
Get a single product by product ID or product reference. Use query_by=ref to fetch by product_ref; otherwise it fetches by product ID. Use select with json-mask syntax to return only required fields.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
merchant | string | Yes | — |
tenantId | string | Yes | — |
value | string | Yes | Product ID or product_ref value. |
query_by | string | No | Values: id, ref. |
select | string | No | json-mask expression to filter response fields. |
Example agent prompt
"Look up the product for me."
get_product(
tenantId="…",
merchant="acme",
value="PROD-1234"
)