# ProductCategory Criterion

> For the complete documentation index, see [llms.txt](https://doc.ibexa.co/en/saas/llms.txt).

ProductCategory Search Criterion

The `ProductCategory` Search Criterion searches for products by the category they're assigned to.

## Arguments

- `taxonomyEntries` - array of ints representing category IDs

## Example

**XML**

```xml
<ProductQuery>
    <Filter>
        <ProductCategoryCriterion>[2, 3]</ProductCategoryCriterion>
    </Filter>
</ProductQuery>
```

**JSON**

```json
{
    "ProductQuery": {
        "Filter": {
            "ProductCategoryCriterion": [
                2,
                3
            ]
        }
    }
}
```
