Skip to main content
Glama
order.md3.5 kB
# Order Liquid Object An [order](https://help.shopify.com/manual/orders) in Shopify represents a customer purchase. ## Properties ### Basic Information - **attributes**: Order attributes (returns `nil` if none exist). These are "collected with the cart." - **name** (string): Order identifier - **order_number** (number): Integer representation of the order name - **confirmation_number** (string): Randomly generated alpha-numeric ID shown to customers (e.g., "XPAV284CT") - **id** (number): The order's unique identifier - **item_count** (number): Number of items in the order ### Customer Information - **customer** (customer object): The person who placed the order - **email** (string): Associated email (returns `nil` if none) - **phone** (string): Phone number associated with the order - **note** (string): Order note (returns `nil` if none) ### Addresses - **billing_address** (address): Billing address details - **shipping_address** (address): Shipping address details ### Pricing & Financial Data - **subtotal_price** (number): Sum of line item prices after discounts (currency subunit) - **line_items_subtotal_price** (number): Sum after line item discounts applied - **shipping_price** (number): Shipping cost - **tax_price** (number): Total taxes applied - **total_price** (number): Final order total (before refunds) - **total_net_amount** (number): Net amount after refunds applied - **total_discounts** (number): Total discount amount - **total_duties** (number): Sum of all duties (returns `nil` if none) - **total_refunded_amount** (number): Refunded amount ### Discounts & Line Items - **discount_applications** (array): All discount applications for order and items - **cart_level_discount_applications** (array): Order-level discounts only - **line_items** (array): Order line items - **subtotal_line_items** (array): Non-tip line items ### Status & Fulfillment - **financial_status** (string): Payment status (authorized, expired, paid, partially_paid, partially_refunded, pending, refunded, unpaid, voided) - **financial_status_label** (string): Localized financial status - **fulfillment_status** (string): Fulfillment state - **fulfillment_status_label** (string): Localized fulfillment status (complete, fulfilled, partial, restocked, unfulfilled) - **cancelled** (boolean): Whether order was cancelled - **cancel_reason** (string): Reason for cancellation (customer, declined, fraud, inventory, staff, other) - **cancel_reason_label** (string): Localized cancellation reason ### Shipping & Pickup - **shipping_methods** (array): Available shipping methods - **pickup_in_store?** (boolean): Whether order is for store pickup ### Timestamps & URLs - **created_at** (string): Order creation timestamp - **cancelled_at** (string): Cancellation timestamp - **customer_url** (string): Account order page URL - **customer_order_url** (string): New order details page URL - **order_status_url** (string): Order status page URL ### Additional Data - **tax_lines** (array): Tax information - **transactions** (array): Payment transactions - **tags** (array): Order tags (alphabetically ordered) - **metafields**: Applied metafields ## Deprecated Properties - **discounts** (discount object): Replaced by `discount_applications` due to incomplete coverage of discount types ## Currency Format Note Monetary values are in the currency's subunit. For currencies without subunits (JPY, KRW), tenths and hundredths are appended. Use money filters for formatted output.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/florinel-chis/shopify-liquid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server