Entities

BlogPost

BlogPost entity - components, queries, links, and related actions

Your storefront encounters the BlogPost entity when rendering blog listing pages, search results, and individual post detail pages. A BlogPost represents a single article with its content, author, media, and metadata. Posts are organized into BlogCollection entities and can link to user-submitted comments.

Components

Base

BlogPostBase

base
Post title, URL slug, and optional publication date.
slug
stringrequired
title
stringrequired
publishedAt
unknown

Author

BlogPostAuthor

author
Author name, email, and optional biography.
name
stringrequired
email
stringrequired
bio
string

Content

BlogPostContent

content
Full HTML-formatted post body.

Excerpt

BlogPostExcerpt

excerpt
HTML-formatted summary or teaser for listing pages.

Media

BlogPostMedia

media
Optional cover image for the post.

SEO

BlogPostSeo

seo
Meta title, description, and robots directive for the post detail page.
title
string
description
string
robots
string

E.g. "index, follow", "noindex, nofollow", etc.

Tags

BlogPostTags

tags
Array of tag strings assigned to the post.
string[]

Queries

  • BlogPostComments Comment multi - User-submitted comments on the post.
  • BlogCollection - The collection this post belongs to (via BlogCollectionPostsLink).