> For the complete documentation index, see [llms.txt](https://developer.smarts.ee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.smarts.ee/general/request-and-responses/productsearchrequest.md).

# ProductSearchRequest

### Object description

| Field         | Type                                                                                                  | Required | Description            |
| ------------- | ----------------------------------------------------------------------------------------------------- | -------- | ---------------------- |
| id            | String                                                                                                | No       | Product ID             |
| categoryId    | String                                                                                                | No       | product category ID    |
| type          | [ProductSearchType](/general/request-and-responses/productsearchrequest.md#enum-type-possible-values) | No       | Service process source |
| categoryName  | String                                                                                                | No       | Category name          |
| barcode       | String                                                                                                | No       | Product SKU            |
| name          | String                                                                                                | No       | Product name           |
| loyaltyCards  | List<[LoyaltyCard](/general/data-object-description/loyaltycard.md)>                                  | No       | Customer loyaltyCards  |
| langCode      | [LangCode](/general/data-object-description/langcode.md)                                              | Yes      | 2 char lang code       |
| personId      | String                                                                                                | Yes      | Smarts user unique ID  |
| institutionId | String                                                                                                | Yes      | Smarts store unique ID |

## Enum type possible values

| ProductSearchType |                                    |
| ----------------- | ---------------------------------- |
| SELF\_SERVICE     | Used in self service process       |
| PICKUP            | Used in home delivery process      |
| WORKER            | used by worker                     |
| OTHER             | used in other undocumented process |
