Skip to main content
These variables are available for use only in messages related to orders. To use order data in your messages, you must categorize the message with the Type ORDER. By doing so, our system will read the order data and enable its proper usage. General Order Data
NameVariablesOutputType
Customer name{{ order.customer_name }}John TestString
Customer email{{ order.customer_email }}test@email.comString
Customer phone{{ order.customer_phone }}15551234567String
Customer document{{ order.customer_document }}12345678912String
Order number{{ order.number }}11205String
Subtotal value{{ order.subtotal_price }}9.90Number
Subtotal value (Formatted){{ order.subtotal_price_formatted }}USD9,90String
Total value{{ order.total_price }}210.27Number
Total value (Formatted){{ order.total_price_formatted }}USD210,27String
Full address (Formatted){{ order.shipping_address_formatted }}456 Flores St, C - Dream District, San Francisco, CA, 94107, USString
Products (Formatted){{ order.line_items_formatted }}Product 01 - ABArray
Products with variant (Formatted){{ order.line_items_formatted_with_variant }}Product 01 - AB - Variant / CString
Order Items | order.line_items - Array
NameVariableOutputType
Order items (Full Array){{ order.line_items }}[{"title": "My Robot"}, ...]Array
Title{{ line_item.title }}My RobotString
Variant name{{ line_item.variant_title }}BlueString
Quantity{{ line_item.quantity }}1Number
Price{{ line_item.price }}210.27Number
Image URL{{ line_item.image_url }}https://….pngString
Shipping Address (Orders)**| order.shipping_address - Object**
NameVariableOutputType
Shipping address{{ order.shipping_address }}{"zip":"94107", …}Object
ZIP Code{{ order.shipping_address.zip }}94107Number
City{{ order.shipping_address.city }}San FranciscoString
State{{ order.shipping_address.province }}CaliforniaString
Address 1{{ order.shipping_address.address1 }}456 Flores St, Apt 31String
Address 2{{ order.shipping_address.address2 }}DowntownString
Tracking Data**| order.tracking_numbers - Array**
NameVariableOutputType
Tracking code{{ order.tracking_numbers.code }}NL0000000000BRString
New tracking code{{ order.tracking_numbers.new_code }}NL0000000123BRString
Full status{{ order.tracking_numbers.full_status }}DELIVEREDString
Elapsed time (in days){{ order.tracking_numbers.elapsed_time }}30Number
Taxed at{{ order.tracking_numbers.tax_at }}2024-11-30 11:46:45String
Delivered at{{ order.tracking_numbers.delivered_at }}2024-12-14 11:46:45String
Returning to sender at{{ order.tracking_numbers.returning_to_sender_at }}2024-11-30 11:46:45String
Returned to sender at{{ order.tracking_numbers.returned_to_sender_at }}2024-11-30 11:46:45String
First update at{{ order.tracking_numbers.first_update_at }}2024-11-14 11:46:45String
Last update at{{ order.tracking_numbers.last_update_at }}2024-12-14 11:46:45String
Last request at{{ order.tracking_numbers.last_request_at }}2024-12-14 11:46:45String
Tracking eventsorder.tracking_numbers.eventsEvent ArrayArray
NameVariableOutputType
Event type{{ order.tracking_numbers.events.type }}CAINIAOString
Event date{{ order.tracking_numbers.events.date }}2024-12-14 11:46:45String
Event label{{ order.tracking_numbers.events.label }}DeliveredString
Event location{{ order.tracking_numbers.events.location }}New York, NYString
Event description{{ order.tracking_numbers.events.description }}Your package was deliveredString