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

Methods

Quick Example

// List all articles
const { items, pageInfo } = await openbridge.articles
    .limit(12)
    .select(['title', 'handle', 'image', 'excerpt'])
    .list()

// List articles from a specific blog
const { items } = await openbridge.articles
    .blog('news')
    .limit(5)
    .list()

// Get single article
const article = await openbridge.articles.get('my-article', 'news')