Global Email Template Object

Data objects across all email templates.

Object properties

PropertyTypeDescription
storeobject
store.namestring
store.domain_namestring
store.logoobject
store.logo.titlestring
store.logo.namestring
store.logo.urlstring
store.ssl_pathstring
store.cdn_pathstring
store.image_directorystring
store.img_pathstring
store.path_normalstringPath to the store (i.e., domain + protocol)
store.pathstring
store.addressstring
store.languageobject
store.language.codestring
store.language.directionstringLeft to right or right to left, depending on the language
customerobject
customer.first_namestring
customer.full_namestring
customer.emailstring
customer.grouparray
customer.group[].namestring
miscobject
misc.yearinteger

Example

{
"store": {
"name": "string,",
"domain_name": "string",
"logo": {
"title": "string",
"name": "string",
"url": "string"
},
"ssl_path": "string",
"cdn_path": "string",
"image_directory": "string",
"img_path": "string",
"path_normal": "string",
"path": "string",
"address": "string",
"language": {
"code": "string",
"direction": "string"
}
},
"customer": {
"first_name": "string",
"full_name": "string",
"email": "string"
},
"misc": {
"year": "int"
}
}