> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openbridge.shop/llms.txt
> Use this file to discover all available pages before exploring further.

# .before()

> Paginate backward

```javascript theme={null}
openbridge.products.list().before(cursor)
```

Sets the cursor for backward pagination. Use to fetch the previous page.

## Parameters

| Param    | Type     | Required | Description                                  |
| -------- | -------- | -------- | -------------------------------------------- |
| `cursor` | `string` | Yes      | `pageInfo.startCursor` from current response |

## Returns

`ProductListBuilder` (chainable)

## Examples

### Go back one page

```javascript theme={null}
const previousPage = await openbridge.products
    .list()
    .limit(12)
    .before(currentPage.pageInfo.startCursor)
```

### With collection

```javascript theme={null}
const previousPage = await openbridge.products
    .list()
    .collection('all')
    .limit(12)
    .before(currentPage.pageInfo.startCursor)
```
