ContentBlockReference
Generic container for passing dynamic content blocks with variables and metadata to templates.
This allows templates to render content blocks with additional context (e.g., price, frequency).
Properties
| Name | Type | Description |
|---|---|---|
| contentBlock | string | The code of the content block to render. |
The code of the content block to render. | ||
| vars | object | Variables to pass to the content block template. |
Variables to pass to the content block template. | ||
| meta | object | Optional metadata for additional context (not passed to template). |
Optional metadata for additional context (not passed to template). | ||
JSON Example
{
"contentBlock": "string",
"vars": {},
"meta": {}
}