For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
  • Overview
    • Quick Start
    • Sandboxes
    • Tools & SDKs
    • Support
  • Docs
      • Getting Started
          • Overview
            • Global Email Object
            • Abandoned Cart
            • Abandoned Cart (Deprecated)
            • Account Details Changed
            • Account Reset Password
            • Combined Order Status
            • Create Account
            • Create Guest Account
            • Gift Certificate
            • Invoice
            • Order Message Notification
            • Order Ready for Pickup
            • Passwordless Login
            • Product Review
            • Return Confirmation
            • Return Status Change
          • Examples
    • Archive
    • Closed Beta Programs
Dev Portal
LogoLogo
On this page
  • Object properties
  • Example
DocsAdminStore ConfigurationEmailsEmail object reference

Return Requested Email Template

Was this page helpful?
Previous

Product Review Email Template

Next

Return Status Change Email Template

Built with

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

Object properties

return
object
return properties
return_id
string
reason
string
action
string
comments
string
products
array[object]
products items
name
string
quantity
integer
price
string
sku
string
thumbnail
string
order
object
order properties
id
integer
store
object
store properties
name
string
domain_name
string
logo
object
logo properties
title
string
name
string
url
string
ssl_path
string
cdn_path
string
image_directory
string
img_path
string
path_normal
string
Path to the store (i.e., domain + protocol)
path
string
address
string
language
object
language properties
code
string
direction
string
Left to right or right to left, depending on the language
customer
object
customer properties
first_name
string
full_name
string
email
string
group
array[object]
group items
name
string
misc
object
misc properties
year
integer
translations
object
translations properties
en
object
en properties
confirmation
string
summary
string
clickHere
string
reason
string
action
string
comments
string
contains
string
items
string
quantity
string

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"
}
}
}
}