Return Requested Email Template

Return requested email triggers after a customer’s return is approved.

Object properties

PropertyTypeDescription
returnobject
return.return_idstring
return.reasonstring
return.actionstring
return.commentsstring
return.productsarray
return.products[].namestring
return.products[].quantityinteger
return.products[].pricestring
return.products[].skustring
return.products[].thumbnailstring
orderobject
order.idinteger
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
translationsobject
translations.enobject
translations.en.confirmationstring
translations.en.summarystring
translations.en.clickHerestring
translations.en.reasonstring
translations.en.actionstring
translations.en.commentsstring
translations.en.containsstring
translations.en.itemsstring
translations.en.quantitystring

Example

{
"return": {
"return_id": 123,
"reason": "reason of return",
"action": "action",
"comments": "sample comment",
"order_id": 321,
"products": [
{
"name": "Shower Gel",
"quantity": 3
}
],
"store": {
"name": "My Dev Store 97434969",
"domain_name": "my-dev-store-97434969.store.bcdev",
"logo": {
"title": "[= My Dev Store 97434969 =]",
"name": "avatar-2020_1612860757__16350.jpeg",
"url": "https://valeryderived-cloud-dev-vm.store.bcdev/store/f1kr2akw96/product_images/avatar-2020_1612860757__16350.jpeg"
},
"ssl_path": "https://my-dev-store-97434969.store.bcdev",
"cdn_path": "https://valeryderived-cloud-dev-vm.store.bcdev/store/f1kr2akw96",
"image_directory": "product_images",
"img_path": "https://valeryderived-cloud-dev-vm.store.bcdev/r08d84bb67d250c7624502ed76d8e0bafb1a5cacf/g-themes/ClassicNext/images",
"path_normal": "https://my-dev-store-97434969.store.bcdev",
"path": "https://my-dev-store-97434969.store.bcdev",
"address": "123 Fake St, Dallas, TX 75225",
"language": {
"code": "en",
"direction": "ltr"
}
},
"customer": {
"first_name": "John",
"full_name": "John Jr",
"email": "john.f@example.com"
},
"misc": null,
"year": 2021,
"translations": {
"en": {
"confirmation": "Confirmation for Return Request for Order ID",
"summary": "A summary of your return is shown below. To view the status of this return",
"clickHere": "click here",
"reason": "Return Reason",
"action": "Return Action",
"comments": "Your Comments",
"contains": "Your Return Request Contains the Following Items...",
"items": "Return Items",
"quantity": "Qty"
}
}
}
}