Skip to main content
shoppy.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 shoppy.articles
    .limit(12)
    .select(['title', 'handle', 'image', 'excerpt'])
    .list()

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

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