CreateWebstoreTemplateVariableDto
namestringRequired
The label shown for the variable in the editor.
typeenumRequired
Specifies how a template variable's 'value' is interpreted when the template renders.
Possible enum values
invalidNo type specified. This value is typically used as a default or uninitialized state.
stringThe value is used as plain text.
htmlThe value is inserted as raw HTML without escaping.
numberThe value is parsed as a number.
booleanThe value is parsed as a boolean; 'true' is true, anything else is false.
jsonThe value is parsed as a JSON document.
valuestringRequired
The value of the variable, always stored as a string and parsed according to 'type' when the
template renders.
variablestringRequired
The name the template's files reference the value by.
Example
{
"name": "string",
"type": "invalid",
"value": "string",
"variable": "string"
}