Skip to main content

shop.blog.list(params?)

Returns a paginated list of published blog posts, ordered by published_at descending.

Parameters

ParamTypeDefaultDescription
limitnumber20Max posts to return (max 50)
offsetnumber0Pagination offset

Response

BlogPost type (list)

Example — Blog listing page


shop.blog.getBySlug(slug)

Returns a single blog post by slug, including full content and rendered HTML.

Parameters

ParamTypeDescription
slugstringThe post’s URL slug

Additional fields (single post)

Example — Blog post page