Parameters
Returns
ProductListBuilder (chainable)
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Search products by query
openbridge.products.list().search(query)
| Param | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query string |
ProductListBuilder (chainable)
const { items } = await openbridge.products.list().search('cotton shirt')
const { items } = await openbridge.products
.list()
.search('blue')
.limit(20)
const { items } = await openbridge.products
.list()
.search('summer dress')
.limit(10)
.select(['title', 'handle', 'priceRange', 'featuredImage'])
const { items } = await openbridge.products
.list()
.collection('womens')
.search('dress')
.limit(12)