shop.blog.list(params?)
Returns a paginated list of published blog posts, ordered by published_at descending.
Parameters
| Param | Type | Default | Description |
|---|---|---|---|
limit | number | 20 | Max posts to return (max 50) |
offset | number | 0 | Pagination 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
| Param | Type | Description |
|---|---|---|
slug | string | The post’s URL slug |