STEP 2-8
Email template variables
Email templates come with variables. Use them to generate email content that matches each template.
Every variable can be used in any notification template, but some variables cannot be applied if the data is not yet available when the notification is sent.
※Some variables do not work inside arrays. When using variables inside an array, refer to the "Variables available inside" column in Array variables.
Variables
| Property | Description | Example |
|---|---|---|
recustomer_css | The CSS defined by Recustomer. Removing it is not recommended (the email layout breaks if you do) | |
mail_title | The subject of the email | お試し購入サービスは商品到着後、開始されます。 |
customer_full_name | The shopper's full name | 佐藤 太郎 |
brand_name | The brand name from the customization screen | テストブランドストア |
brand_logo_url | The brand logo from the customization screen | https://test-store.com |
return_cancel_portal_url | A link to the return request page | https://test.rcrm.com |
trial_period_start_date | The start date of the trial period. Before the trial period begins, it shows "まだお試し期間ではありません" (the trial period has not started yet) | 2024/01/01 10:00 |
trial_period_end_date | The end date of the trial period. Before the trial period begins, it shows "お試し期間開始後に表示されます" (shown once the trial period starts) | 2024/01/01 10:00 |
trial_settlement_date | The date and time the charge is processed | 2024/01/01 10:00 |
order_number | The order number | #1000 |
ordered_at | The order date | 2024/01/01 10:00 |
trial_order_total_amount | The total amount of the trial order | 10,000 |
trial_order_billing_amount | The amount the trial order is expected to be charged | 10,000 |
trial_order_cancellation_amount | The total amount excluded from the charge because of returns on the trial order | |
trial_order_authorization_amount | The amount held by the authorization | |
trial_order_captured_at | The date and time the trial order was charged | 2024/01/01 10:00 |
trial_order_captured_amount | The amount actually charged for the trial order |
Array variables
Information that can have more than one entry, such as items, is passed as an array. Each array has its own set of variables that can be used inside it.
| Property | Description | Variables available inside |
|---|---|---|
trial_line_items[] | An array containing the trial items | product_imageproduct_nameproduct_quantityproduct_pricevariant_options[] |
trial_line_items[].variant_options[] | An array containing the variant details associated with a trial item | variant_namevariant_value |
© Recustomer, Inc.