> For the complete documentation index, see [llms.txt](https://help.pickzen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickzen.com/guides/nocode/functions/recids.md).

# RECIDS

The RECIDS function adds the products with specified IDs to the recommended products list.

### Syntax

**RECIDS(ids, \[count])**

| Argument name                                | Description                                                                              |
| -------------------------------------------- | ---------------------------------------------------------------------------------------- |
| <p>ids</p><p>Required</p>                    | List of IDs to recommend.                                                                |
| <p><strong>count</strong></p><p>Optional</p> | Number of the IDs list to recommend. If not specified, it will recommend the whole list. |

### Examples

If:

* *ids* = \[*100, 101, 102*]

The execution of:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-MA6FOCzWpw1Cw2JAbS7%2F-MA6FicZZBOYaG5vf9zf%2Fimage.png?alt=media\&token=6f59262e-ff90-40cb-8f78-be84bcf19f6b)

Will recommend the three products with IDs 100, 101, 102.

The execution of:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-MA6FOCzWpw1Cw2JAbS7%2F-MA6Fmgf7_2nlJOrrfRx%2Fimage.png?alt=media\&token=a9e0bff3-68c5-4e09-b5c2-cde0eb4b4e1b)

Will recommend only the product with ID 100. This rule can also be written as:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-MA6FOCzWpw1Cw2JAbS7%2F-MA6Frv_hBf8Qu_9nCaj%2Fimage.png?alt=media\&token=a8406784-ded9-4f94-9b9c-50dde51476b8)
