Substitution Data
Substitution data supplies variables for server-side templates. Use it when Mailtarget owns the template and your application supplies recipient-specific values.
{
"templateId": "tmpl_receipt_v3",
"substitutionData": {
"order_id": "10042",
"amount": "250000"
}
}
Keep variable names stable and validate required values before sending.