Order
OBJECT
Fields
id:ID!organization_id:ID!store_id:ID!currency_code:StringISO currency of the order, derived from its store (e.g. USD, VND). Drives money formatting in the admin.
order_number:String!customer_id:IDis_guest:Boolean!customer_email:Stringcustomer_firstname:Stringcustomer_lastname:Stringcustomer_phone:Stringitems_count:Int!items_qty:Float!subtotal:Float!discount_amount:Float!shipping_amount:Float!shipping_method:Stringshipping_description:Stringtax_amount:Float!price_includes_tax:Boolean!grand_total:Float!total_paid:Float!total_due:Float!total_refunded:Float!voucher_code:Stringloyalty_points_earned:Intloyalty_points_redeemed:Intcancel_reason:Stringinventory_reserved:Boolean!is_preorder:Boolean!Pre-order: true when any line was pre-ordered (ships on/after the release date).
preorder_status:StringPre-order lifecycle: 'awaiting_release' | 'released' (null for normal orders).
preorder_deposit_percent:Float!Resolved deposit % charged up-front for a deposit pre-order (0 = paid in full).
customer_note:Stringadmin_note:Stringcreated_by:IDupdated_by:ID