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

# Search products

> Search products

### Query parameters

<ParamField query="search" type="string" />

<ParamField query="is_active" type="boolean" />

<ParamField query="limit" type="integer (int64)" />

<ParamField query="offset" type="integer (int64)" />

### Responses

<ResponseField name="200" type="ApiResponse_ProductSearchResponse">
  Products search results
</ResponseField>

<ResponseField name="400" type="ErrorResponse">
  Invalid query parameters
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.stateset.com/api/v1/products/search' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "limit": null,
      "offset": null,
      "products": [
        {
          "brand": "AudioTech",
          "cost_price": "75.00",
          "created_at": "2024-12-09T10:30:00Z",
          "currency": "USD",
          "description": "Premium over-ear wireless headphones with active noise cancellation.",
          "dimensions_cm": "20x18x8",
          "id": "550e8400-e29b-41d4-a716-446655440000",
          "image_url": "https://cdn.example.com/products/wbh-blk-001.jpg",
          "is_active": true,
          "is_digital": false,
          "manufacturer": "AudioTech Inc.",
          "meta_description": "Shop premium wireless Bluetooth headphones.",
          "meta_title": "Wireless Bluetooth Headphones | AudioTech",
          "msrp": "199.99",
          "name": "Wireless Bluetooth Headphones",
          "price": "149.99",
          "reorder_point": 25,
          "sku": "WBH-BLK-001",
          "tags": "electronics,audio,headphones,wireless",
          "tax_rate": "0.08",
          "updated_at": "2024-12-09T14:45:00Z",
          "weight_kg": "0.35"
        }
      ],
      "total": 1
    },
    "errors": null,
    "message": null,
    "meta": null,
    "success": true
  }
  ```
</ResponseExample>
