Skip to main content
openbridge.pages
Query Shopify pages with support for pagination, field selection, and search.
See Types for full interface definitions.

Methods

.list()

Fetch multiple pages

.get()

Fetch a single page

.search()

Search pages by query

.limit()

Set maximum results

.select()

Choose which fields to return

.after()

Paginate forward

.before()

Paginate backward

.reverse()

Reverse sort order

Quick Example

// List pages with pagination
const { items, pageInfo } = await openbridge.pages
    .limit(12)
    .select(['title', 'handle', 'bodySummary'])
    .list()

// Get single page
const page = await openbridge.pages.get('about-us')