Search products
ecwid_search_productsSearch / list the store's products with optional filters (keyword, SKU, category, stock, price range) and sorting. Returns a paged collection ({total, count, offset, limit, items}). Ecwid REST: GET /products.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Filter by exact product SKU. | |
| limit | No | Max results per page (1-100). | |
| offset | No | Pagination offset. | |
| sortBy | No | Sort order: RELEVANCE | PRICE_ASC | PRICE_DESC | NAME_ASC | NAME_DESC | ADDED_TIME_ASC | ADDED_TIME_DESC | UPDATED_TIME_ASC | UPDATED_TIME_DESC. | |
| enabled | No | Filter to enabled (true) or disabled (false) products. | |
| inStock | No | Filter to in-stock (true) or out-of-stock (false) products. | |
| keyword | No | Full-text search term (matches title, description, SKU…). | |
| priceTo | No | Maximum price (inclusive). | |
| category | No | Filter to products in this category id (0 = root). | |
| priceFrom | No | Minimum price (inclusive). |