---
title: "PinItem"
slug: "cloud-sdk-search-pinitem"
abstract: "The PinItem interface represents pin rules for a search request. Used to force a single item or category to appear in a specific slot even if it is not in the natural results set for a request."
---
# PinItem

|     |     |
| --- | --- |
| Type | Interface |
| Import path | `@sitecore-cloudsdk/search/browser` |

Pin rules for a search request. Used to force a single item or category to appear in a specific slot even if it is not in the natural results set for a request.

To force a list of items or categories to appear in fixed slots, use [`Include`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-search/cloud-sdk-search-browser/interfaces/cloud-sdk-search-include.html "Include").

## Signature

```typescript
interface PinItem {
  id: string;
  slot: number;
}
```

## Properties

| Name | Type | Description | Value |
| --- | --- | --- | --- |
| `id` | `string` | Required.<br><br>The ID of the item to pin. | N/A |
| `slot` | `integer` | Required.<br><br>A position in a list of search results to which you can apply pin, include, or boost rules. | `4` |