Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fetch a single page
openbridge.pages.get(idOrHandle) openbridge.pages.get(idOrHandle).select(fields)
.select()
idOrHandle
string
ShopifyPage
| null
const page = await openbridge.pages.get('about-us') if (page) { console.log(page.title) }
const page = await openbridge.pages.get( 'gid://shopify/Page/123456789' )
const page = await openbridge.pages .get('contact') .select(['title', 'body', 'seo'])
const page = await openbridge.pages.get('non-existent') if (!page) { console.log('Page not found') }