Skip to main content

shop.pages.list()

Returns all visible CMS pages, ordered by sort_order. Use these for About, Contact, FAQ, and other static pages.

Response


shop.pages.getBySlug(slug)

Returns a single CMS page by slug, including its rendered HTML and CSS.

Parameters

ParamTypeDescription
slugstringThe 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.