Get Store Template Content (HTML + Slots)
get_store_template_contentReturns the raw display HTML of a published store template plus its slot definitions and allowed external origins, for editing or embedding the template yourself. {{asset:NAME}} placeholders resolve to public URLs; {{slot:KEY.prop}} stay intact for your own binding. Large HTML is windowed via max_bytes (default 51200) and offset; the result reports totalBytes and truncated. To push a template to a display directly, use send_store_template_to_display instead. No authentication required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Template slug from search_store_templates, e.g. 'bistro-warm-door'. | |
| offset | No | Byte offset into the HTML. Default 0. | |
| version | No | Optional published version id (stpv_…) to pin. Omit for current. | |
| max_bytes | No | Maximum HTML bytes to return. Default 51200. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| slug | No | ||
| slots | No | ||
| offset | No | ||
| version | No | ||
| truncated | No | ||
| totalBytes | No | ||
| allowedExternalOrigins | No |