Skip to main content

blog_articles

Lets the merchant select a blog and returns it with its articles included. Perfect for "Latest Posts" or "Featured Blog" sections.

blog vs blog_articles

Unlike blog which returns only the blog info, blog_articles also fetches the articles inside the selected blog.

Properties

PropertyTypeRequiredDescription
type"blog_articles"YesField type identifier
labelstringYesLabel shown in the builder
defaultstringNoDefault value (empty string if omitted)

Usage

{
"featuredBlog": {
"type": "blog_articles",
"label": "Featured Blog",
"default": ""
}
}

Interactive Preview

Interactive Preview
Store News
3 articles
New Collection Launch
Summer Sale Tips
Style Guide 2025
Live Output
{
  "featuredBlog": {
    "title": "Store News",
    "articlesCount": 3,
    "articles": [
      {
        "title": "New Collection Launch",
        "excerpt": "Check out our latest..."
      },
      {
        "title": "Summer Sale Tips",
        "excerpt": "Get ready for the summer..."
      },
      {
        "title": "Style Guide 2025",
        "excerpt": "This year's trends..."
      }
    ]
  }
}