Docs
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

PropertyDescriptionExample
recustomer_cssThe CSS defined by Recustomer. Removing it is not recommended (the email layout breaks if you do)
mail_titleThe subject of the emailお試し購入サービスは商品到着後、開始されます。
customer_full_nameThe shopper's full name佐藤 太郎
brand_nameThe brand name from the customization screenテストブランドストア
brand_logo_urlThe brand logo from the customization screenhttps://test-store.com
return_cancel_portal_urlA link to the return request pagehttps://test.rcrm.com
trial_period_start_dateThe 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_dateThe 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_dateThe date and time the charge is processed2024/01/01 10:00
order_numberThe order number#1000
ordered_atThe order date2024/01/01 10:00
trial_order_total_amountThe total amount of the trial order10,000
trial_order_billing_amountThe amount the trial order is expected to be charged10,000
trial_order_cancellation_amountThe total amount excluded from the charge because of returns on the trial order
trial_order_authorization_amountThe amount held by the authorization
trial_order_captured_atThe date and time the trial order was charged2024/01/01 10:00
trial_order_captured_amountThe 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.

PropertyDescriptionVariables available inside
trial_line_items[]An array containing the trial itemsproduct_image
product_name
product_quantity
product_price
variant_options[]
trial_line_items[].variant_options[]An array containing the variant details associated with a trial itemvariant_name
variant_value
© Recustomer, Inc.