Theme Card
Find the cards available to add and work with page-builder templates
Cards are the building blocks of a page: section cards are placed directly on a page, and block cards are placed inside a section. AI cards are block cards created from liquid code, typically generated by AI; page-builder blocks are cards saved from page-builder templates, visual designs built in the page builder.
Provides endpoints to list the cards available to add, aggregated from the theme, pb, custom, extension, public, and gen sources, as well as public cards and app extension cards; and save and delete page-builder custom templates, render a template's canvas snapshot, and preview page-builder canvas edits. These endpoints do not need an edit session; to place, arrange, or create cards in a session, see Theme Session.
List addable cards
List all addable cards under the current theme across sources (`theme`, `pb`, `custom`,
List public cards
List public cards available for a template or theme.
List app extension cards
List the app extension cards that can be added to a template, grouped by app.
Save page-builder custom template
Save a custom card template based on an existing template; `action` decides how it is saved.
Delete page-builder custom template
Delete a page-builder custom template by id.
Render template canvas snapshot
Pass a template id or full canvas data, and get back a text snapshot of the canvas; each node
Preview page-builder canvas edits
Apply edit operations (`ops`) to the given canvas data and return the edited canvas data, the