> ## Documentation Index
> Fetch the complete documentation index at: https://docs.komerza.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Products

> Searches products by query within the store.
Requires the `stores.products.view` permission.

## Filterable Fields

This endpoint supports filtering and sorting. See the [Filtering & Sorting Guide](/api-reference/filtering) for syntax details.

| Field             | Type    | Description                                                                          |
| ----------------- | ------- | ------------------------------------------------------------------------------------ |
| `visibility`      | integer | Filter by privacy level. See [Product Privacy](/api-reference/enums#product-privacy) |
| `isBestSeller`    | boolean | Filter best-seller products                                                          |
| `shouldBlockVpns` | boolean | Filter products that block VPNs                                                      |
| `lowStock`        | boolean | Filter products with low stock availability                                          |

**Example:**

```bash theme={null}
# Public best-sellers with low stock
GET /stores/{storeId}/products?filters=visibility==0,isBestSeller==true,lowStock==true

# Products that don't block VPNs
GET /stores/{storeId}/products?filters=shouldBlockVpns==false
```


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.komerza.com/llms.txt).
