Skip to main content
openbridge.products
The Products API provides methods to fetch, filter, search, and paginate through Shopify products.
See Types for full interface definitions.

Methods

.list()

Fetch multiple products

.get()

Fetch single product

.collection()

Filter by collection

.search()

Search products

.limit()

Set max results

.select()

Choose fields

.after()

Next page

.before()

Previous page

Quick Example

// 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
    .collection('sale')
    .limit(12)
    .select(['title', 'priceRange', 'featuredImage'])
    .list()