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

> Query Shopify products

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

The Products API provides methods to fetch, filter, search, and paginate through Shopify products.

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

## Methods

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

  <Card title=".get()" href="/api/products/get">
    Fetch single product
  </Card>

  <Card title=".collection()" href="/api/products/collection">
    Filter by collection
  </Card>

  <Card title=".search()" href="/api/products/search">
    Search products
  </Card>

  <Card title=".limit()" href="/api/products/limit">
    Set max results
  </Card>

  <Card title=".select()" href="/api/products/select">
    Choose fields
  </Card>

  <Card title=".after()" href="/api/products/after">
    Next page
  </Card>

  <Card title=".before()" href="/api/products/before">
    Previous page
  </Card>
</CardGroup>

## Quick Example

```javascript theme={null}
// List all products
const { items } = await openbridge.products.list()

// Get single product
const product = await openbridge.products.get('product-handle')

// Products from collection with options
const { items } = await openbridge.products
    .list()
    .collection('sale')
    .limit(12)
    .select(['title', 'priceRange', 'featuredImage'])
```
