# Product Search Criteria reference

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

Product Search Criteria

Product Search Criteria let you filter products by specific properties, for example, color, availability, or creation date.

You use them over the REST API, in the `Filter` or `Query` element of the payload of the [`POST /product/catalog/products/view`](https://doc.ibexa.co/en/saas/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Product/operation/ibexa.product_catalog.rest.products.view) request, or of the [`POST /product/catalog/catalogs/{identifier}/products/view`](https://doc.ibexa.co/en/saas/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Product-Catalog/operation/ibexa.product_catalog.rest.catalogs.products.view) request, which searches within a single catalog. In the payload, the name of a Criterion has the `Criterion` suffix, for example, `ProductCodeCriterion`. Criteria that you provide in one `Filter` or `Query` element are combined with a logical AND.

Products are content items, so you can also find them with a content search, by using the [`POST /views`](https://doc.ibexa.co/en/saas/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Views/operation/ibexa.rest.views.create) request with, for example, the [ContentTypeIdentifier](https://doc.ibexa.co/en/saas/search/criteria_reference/contenttypeidentifier_criterion/index.md) Criterion. Such a search returns content items instead of products, and it doesn't accept Product Search Criteria. In the same way, the product endpoints don't accept [content Search Criteria](https://doc.ibexa.co/en/saas/search/criteria_reference/search_criteria_reference/index.md).

Catalog Criteria (`CatalogIdentifier`, `CatalogName`, and `CatalogStatus`) are used with the [`POST /product/catalog/catalogs/view`](https://doc.ibexa.co/en/saas/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Product-Catalog/operation/ibexa.product_catalog.rest.catalogs.view) request, and attribute definition Criteria (`AttributeName` and `AttributeGroupIdentifier`) with the [`POST /product/catalog/attributes/view`](https://doc.ibexa.co/en/saas/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Product-Attribute/operation/ibexa.product_catalog.rest.attributes.view) request.

## Product Search Criteria

To query for products coming from Quable, see [Quable](https://doc.ibexa.co/en/saas/product_catalog/quable/quable/index.md) for details about the integration.

| Search Criterion                                                                                                               | Search based on                               | Local product catalog | Quable |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------- | --------------------- | ------ |
| [AttributeGroupIdentifier](https://doc.ibexa.co/en/saas/search/criteria_reference/attributegroupidentifier_criterion/index.md) | Value of product's attribute group identifier | Yes                   |        |
| [AttributeName](https://doc.ibexa.co/en/saas/search/criteria_reference/attributename_criterion/index.md)                       | Value of product's attribute name             | Yes                   |        |
| [CatalogIdentifier](https://doc.ibexa.co/en/saas/search/criteria_reference/catalogidentifier_criterion/index.md)               | Catalog's identifier                          | Yes                   |        |
| [CatalogName](https://doc.ibexa.co/en/saas/search/criteria_reference/catalogname_criterion/index.md)                           | Catalog's name                                | Yes                   |        |
| [CatalogStatus](https://doc.ibexa.co/en/saas/search/criteria_reference/catalogstatus_criterion/index.md)                       | Catalog's status                              | Yes                   |        |
| [ColorAttribute](https://doc.ibexa.co/en/saas/search/criteria_reference/colorattribute_criterion/index.md)                     | Value of product's color attribute            | Yes                   |        |
| [CreatedAt](https://doc.ibexa.co/en/saas/search/criteria_reference/createdat_criterion/index.md)                               | Date and time when product was created        | Yes                   | Yes    |
| [CreatedAtRange](https://doc.ibexa.co/en/saas/search/criteria_reference/createdatrange_criterion/index.md)                     | Date and time range when product was created  | Yes                   |        |
| [FloatAttribute](https://doc.ibexa.co/en/saas/search/criteria_reference/floatattribute_criterion/index.md)                     | Value of product's float attribute            | Yes                   |        |
| [FloatAttributeRange](https://doc.ibexa.co/en/saas/search/criteria_reference/floatattributerange_criterion/index.md)           | Value of product's float attribute            | Yes                   |        |
| [IntegerAttribute](https://doc.ibexa.co/en/saas/search/criteria_reference/integerattribute_criterion/index.md)                 | Value of product's integer attribute          | Yes                   |        |
| [IntegerAttributeRange](https://doc.ibexa.co/en/saas/search/criteria_reference/integerattributerange_criterion/index.md)       | Value of product's integer attribute          | Yes                   |        |
| [IsVirtual](https://doc.ibexa.co/en/saas/search/criteria_reference/isvirtual_criterion/index.md)                               | Product type (virtual or physical)            | Yes                   |        |
| [ProductAvailability](https://doc.ibexa.co/en/saas/search/criteria_reference/productavailability_criterion/index.md)           | Product's availability                        | Yes                   |        |
| [ProductCategory](https://doc.ibexa.co/en/saas/search/criteria_reference/productcategory_criterion/index.md)                   | Product category assigned to product          | Yes                   | Yes    |
| [ProductCode](https://doc.ibexa.co/en/saas/search/criteria_reference/productcode_criterion/index.md)                           | Product's code                                | Yes                   | Yes    |
| [ProductName](https://doc.ibexa.co/en/saas/search/criteria_reference/productname_criterion/index.md)                           | Product's name                                | Yes                   | Yes    |
| [ProductType](https://doc.ibexa.co/en/saas/search/criteria_reference/producttype_criterion/index.md)                           | Product type                                  | Yes                   | Yes    |
| [SelectionAttribute](https://doc.ibexa.co/en/saas/search/criteria_reference/selectionattribute_criterion/index.md)             | Value of product's selection attribute        | Yes                   |        |
| [UpdatedAt](https://doc.ibexa.co/en/saas/search/criteria_reference/updated_at_criterion/index.md)                              | Product modification date                     | Yes                   | Yes    |
| [UpdatedAtRange](https://doc.ibexa.co/en/saas/search/criteria_reference/updated_at_range_criterion/index.md)                   | Product modification date range               | Yes                   |        |
