getProducts
List products. Omit locationRef and categoryRef to list across all locations, or provide one to scope to a location or category. Call getLocations to list locations, or getLocation to fetch one by locationId. Get categoryRef from getShopCategories. Or pass up to 25 product UUIDs in id to get those products.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getProducts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Product UUIDs to get, up to 25 per request. Comma-separated, one or more UUIDs. | |
| limit | No | Maximum number of products per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. | |
| categoryRef | No | UUID of the shop category. | |
| locationRef | No | UUID of the location whose products to list. Omit locationRef, categoryRef and id to list products across every location of the network, newest first. | |
| nextPageToken | No | Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| products | Yes | ||
| nextPageToken | No | Pass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page. |