shop.pages.list()
Returns all visible CMS pages, ordered by sort_order. Use these for About, Contact, FAQ, and other static pages.
Response
Example — Footer page links
shop.pages.getBySlug(slug)
Returns a single CMS page by slug, including its rendered HTML and CSS.
Parameters
| Param | Type | Description |
|---|---|---|
slug | string | The page’s URL slug |
Example — Render a page
rendered_html and rendered_css are pre-rendered by Shopi’s page builder. Always prefer these over content for pixel-perfect rendering.