> ## 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.

# Overview

> Fetch and query Shopify collections

```javascript theme={null}
openbridge.collections
```

Query Shopify collections with support for pagination, field selection, and search.

<Info>See [Types](/api/types/collections) for full interface definitions.</Info>

## Methods

<CardGroup cols={2}>
  <Card title=".list()" href="/api/collections/list">
    Fetch multiple collections
  </Card>

  <Card title=".get()" href="/api/collections/get">
    Fetch a single collection
  </Card>

  <Card title=".search()" href="/api/collections/search">
    Search collections by query
  </Card>

  <Card title=".limit()" href="/api/collections/limit">
    Set maximum results
  </Card>

  <Card title=".select()" href="/api/collections/select">
    Choose which fields to return
  </Card>

  <Card title=".after()" href="/api/collections/after">
    Paginate forward
  </Card>

  <Card title=".before()" href="/api/collections/before">
    Paginate backward
  </Card>
</CardGroup>

## Quick Example

```javascript theme={null}
// List collections with pagination
const { items, pageInfo } = await openbridge.collections
    .list()
    .search('sale')
    .limit(12)
    .select(['title', 'handle', 'image'])

// Get single collection
const collection = await openbridge.collections.get('summer-sale')
```
