search_products
Find current catalog products using the same search and filters as the storefront. Returns a bounded page with an exact total; narrow overly broad queries. Public; no OAuth required. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Storefront text search query. Omit to browse the catalog with the supplied section, brand and filters. | |
| page | No | One-based result page, default 1. Do not combine with cursor; the existing offset window still applies. | |
| sort | No | Catalog order: id_sort is the default ID order; price_min sorts cheapest first, price_max most expensive first. | |
| cursor | No | Opaque next_cursor from the previous response. Keep the same filters/sort; do not combine with page. Expires after 15 minutes. Existing backend windows apply; not a frozen snapshot. | |
| filters | No | Storefront catalog filters. Combine with the current section/brand context; REST encodes this object as one JSON query value. | |
| brand_id | No | Restrict to this brand ID returned by search_brands or product data, not its display name. | |
| per_page | No | Maximum results per page, default 20. Keep the same value when following next_cursor. | |
| section_id | No | Restrict to this real catalog section. Do not combine with filters.section_ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| pagination | Yes |