Docs
STEP 2-2

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_logoThe brand logo from the customization screenhttps://test-store.com
tracking_numberThe tracking number
delivery_companyThe carrier佐川急便
product_imageThe product imagehttps://test-image.png
product_nameThe product nameテスト商品
product_quantityThe product quantity3
currency_symbolThe currency symbol used at purchase$, ¥, €
product_priceThe product price10,000
formatted_priceThe product price formatted with its currency symbol$10.00, ¥1,000
variant_nameThe name of the variant option on the productサイズ
variant_valueThe value of the variant option on the productM サイズ
redelivery_urlThe URL of the redelivery request page
shipping_full_nameThe name registered on the shipping address佐藤 太郎

Array variables

Information that can have several entries, such as items, is passed as an array per delivery status. The variables you can use inside an array differ per array.

PropertyDescriptionVariables available inside
info_received_line_items[]An array holding the items whose shipment has been accepted by the carrierproduct_image
product_name
product_quantity
product_price
variant_options[]
in_transit_line_items[]An array holding the items in transitproduct_image
product_name
product_quantity
product_price
variant_options[]
available_for_pickup_line_items[]An array holding the items available for pickupproduct_image
product_name
product_quantity
product_price
variant_options[]
delivered_line_items[]An array holding the delivered itemsproduct_image
product_name
product_quantity
product_price
variant_options[]
attempt_fail_line_items[]An array holding the items returned to the depot because the shopper was awayproduct_image
product_name
product_quantity
product_price
variant_options[]
attempt_fail_remind_line_items[]An array holding the items in a redelivery reminderproduct_image
product_name
product_quantity
product_price
variant_options[]
expired_line_items[]An array holding the items whose storage period has expiredproduct_image
product_name
product_quantity
product_price
variant_options[]
variant_options[]An array holding the variant options of the productvariant_name
variant_value
© Recustomer, Inc.