---
layout: default
title: order
nav:
group: Liquid Variables
---
# order
The order object can be accessed in order email templates, the Thank You page of the checkout, as well as in apps such as Order Printer.
The order object has the following attributes:
{% table_of_contents %}
{% anchor_link "order.billing_address", "order-billing_address" %}
Returns the billing address of the order.
{% anchor_link "order.cancelled", "order-cancelled" %}
Returns true if an order is cancelled, returns falseif it not.
Returns the timestamp of when an order was cancelled. Use the date filter to format the timestamp.
{% anchor_link "order.cancel_reason", "order-cancel_reason" %}Returns the cancellation reason of an order, if it was cancelled.
{% anchor_link "order.created_at", "order-created_at" %}Returns the timestamp of when an order was created. Use the date filter to format the timestamp.
{% anchor_link "order.customer", "order-customer" %}Returns the customer associated to the order. {% anchor_link "order.customer_url", "order-customer_url" %}
Returns the URL of the customer's account page.
Input
Output
Returns an array of discounts for an order.
Input
Output
Returns the email associated with an order.
{% anchor_link "order.financial_status", "order-financial_status" %}Returns the financial status of an order. The possible values are:
- pending - authorized - paid - partially_paid - refunded - partially_refunded - voided {% anchor_link "order.fulfillment_status", "order-fulfillment_status" %}Returns the fulfillment status of an order.
{% anchor_link "order.line_items", "order-line_items" %}Returns an array of line items from the order.
{% anchor_link "order.location", "order-location" %}POS Only. Displays the physical location of the order. You can configure locations in the Locations settings of the admin.
{% anchor_link "order.name", "order-name" %} Returns the name of the order, in the format set in the Standards & formats section of the General Settings.Input
Output
Returns the integer representation of the order name.
Input
Output
Returns the shipping price of an order. Use a money filter to return the value in a monetary format.
{% anchor_link "order.subtotal_price", "order-subtotal_price" %}Returns the subtotal price of an order. Use a money filter to return the value in a monetary format.
{% anchor_link "order.tax_lines", "order-tax_lines" %}Returns an array of tax_line variables for an order.
Input
Output
Returns the order's tax price. Use a money filter to return the value in a monetary format.
{% anchor_link "order.total_price", "order-total_price" %}Returns the total price of an order. Use a money filter to return the value in a monetary format.
{% anchor_link "order.transactions", "order-transactions" %}Returns an array of transactions from the order.