class Falsify::Order
An order is a customer's completed request to purchase one or more products from a shop. See the [API documentation](help.shopify.com/en/api/reference/orders/order). Required Fields:
Attributes
The ID of the app that created the order. @return [String]
The mailing address associated with the payment method. This address is an optional field that won't be available on orders that do not require a payment method. @return [Address]
The IP address of the browser used by the customer when they placed the order. @return [String]
Whether the customer consented to receive email updates from the shop. @return [Boolean]
The date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the order was canceled. @return [String]
The ID of the cart that's associated with the order. @return [String]
Information about the browser that the customer used when they placed their order: @return [ClientDetails]
The date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the order was closed. @return [String]
The autogenerated date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the order was created in Shopify. The value for this property cannot be changed. @return [String]
The three-letter code ([ISO 4217](en.wikipedia.org/wiki/ISO_4217) format) for the shop currency. @return [String]
Information about the customer. The order might not have a customer and apps should not depend on the existence of a `customer` object. This value might be `null` if the order was created through Shopify POS. For more information about the `customer` object, see the [Customer resource](help.shopify.com/en/api/reference/customers/customer). @return [Customer,nil]
The two or three-letter language code, optionally followed by a region modifier. @return [String]
@return [Array<DiscountApplication>]
@return [Array<DiscountCode>]
The customer's email address. @return [String]
A list of fulfillments associated with the order. For more information, see the [Fulfillment API](help.shopify.com/en/api/reference/shipping-and-fulfillment/fulfillment). @return [Array<Fulfillment>]
The payment gateway used. @deprecated Use the [Transaction resource](help.shopify.com/en/api/reference/orders/transaction) instead. @return [String]
The URL for the page where the buyer landed when they entered the shop. @return [String]
A list of line item objects, each containing information about an item in the order. @return [Array<LineItem>]
The ID of the physical location where the order was processed. @return [String]
The order name as represented by a number. Must start with `#`. @return [String]
An optional note that a shop owner can attach to the order. @return [String]
Extra information that is added to the order. Appears in the **Additional details** section of an order details page. Each array entry must contain a hash with `name` and `value` keys. @return [Array<Hash>]
For internal use only. An ID unique to the shop. Numbers are sequential and start at 1000. @return [String]
The ID of the order used by the shop owner and customer. This is different from the `shopify_id` property, which is the ID of the order used by the API. @return [String]
The URL pointing to the [order status web page](help.shopify.com/manual/orders/status-tracking), if applicable. @return [String]
An object containing information about the payment. @deprecated Use the [Transaction resource](help.shopify.com/en/api/reference/orders/transaction) instead. @return [String]
The list of payment gateways used for the order. @return [Array<String>]
The customer's phone number for receiving SMS notifications. @return [String]
The presentment currency that was used to display prices to the customer. @return [String]
The date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when an order was processed. This value is the date that appears on your orders and that's used in the analytic reports. By default, it matches the `created_at` value. If you're importing orders from an app or another platform, then you can set `processed_at` to a date and time in the past to match when the original order was created. @return [String]
The website where the customer clicked a link to the shop. @return [String]
A list of refunds applied to the order. For more information, see the [Refund API](help.shopify.com/en/api/reference/orders/refund). @return [Array<Refund>]
The mailing address to where the order will be shipped. This address is optional and will not be available on orders that do not require shipping. @return [Address]
An array of objects, each of which details a shipping method used. @return [Array<ShippingLine>]
The ID of the order, used for API purposes. This is different from the `order_number` property, which is the ID used by the shop owner and customer. @return [String]
Where the order originated. Can be set only during order creation, and is not writeable afterwards. Values for Shopify channels are protected and cannot be assigned by other API clients: `web`, `pos`, `shopify_draft_order`, `iphone`, and `android`. Orders created via the API can be assigned any other string of your choice. If unspecified, then new orders are assigned the value of your app's ID. @return [String]
The price of the order in the shop currency after discounts but before shipping, taxes, and tips. @return [String]
The subtotal of the order in shop and presentment currencies. @return [PriceSet]
An array of tax line objects, each of which details a tax applicable to the order. @return [Array<TaxLine>]
Whether taxes are included in the order subtotal. @return [Boolean]
Whether this is a test order. @return [Boolean]
A unique token for the order. @return [String]
The total discounts applied to the price of the order in the shop currency. @return [String]
The total discounts applied to the price of the order in shop and presentment currencies. @return [PriceSet]
The sum of all line item prices in the shop currency. @return [String]
The total of all line item prices in shop and presentment currencies. @return [String]
The sum of all line item prices, discounts, shipping, taxes, and tips in the shop currency. Must be positive. @return [String]
The total price of the order in shop and presentment currencies. @return [PriceSet]
The sum of all the taxes applied to the order in the shop currency. Must be positive. @return [String]
The total tax applied to the order in shop and presentment currencies. @return [PriceSet]
The sum of all the tips in the order in the shop currency. @return [String]
The sum of all line item weights in grams. @return [String]
The date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the order was last modified. Filtering orders by `updated_at` is not an effective method for fetching orders because its value can change when no visible fields of an order have been updated. Use the [Webhook](help.shopify.com/en/api/reference/events/webhook) and [Event](help.shopify.com/en/api/reference/events/event) APIs to subscribe to order events instead. @return [String]
The ID of the user logged into Shopify POS who processed the order, if applicable. @return [String]