Description
Topic: Orders
Fields
billing_address: AddressCreate!
billing_address_short_id: String
cancel_reason: OrderCancelReason
The reason why the order was canceled
custom_items: [OICustomItem!]
financial_status: OrderFinancialStatus!
Financial status of the order
fulfillment_status: OrderFulfillmentStatus!
Fulfillment status of the order
fulfillments: [OIOrderFulfillment!]
history: [OIOrderHistory!]
line_items: [OIOrderLineItem!]!
mobile_notifications: Boolean!
payment_detail: OIPaymentDetail
round_tax_at: RoundTaxAt!
At what level the tax should be rounded
shipping_address: AddressCreate!
shipping_address_override: AddressCreate
shipping_address_short_id: String
shipping_detail: OIShippingDetail!
source_name: OrderSourceName!
Where the order originated from
Order tags (can be used for organization)
tax_inclusive_prices: Boolean!
Used By
Mutations
Preview (typescript)
interface OIOrder {billing_address: AddressCreatebilling_address_short_id?: stringcancel_reason?: OrderCancelReason | nullcanceled_at?: stringcoupon_id: stringcreated_at: stringcurrency: stringcustom_items?: OICustomItem[]customer_balance_spent: numbercustomer_id: stringfinancial_status: OrderFinancialStatusfulfilled_at?: stringfulfillment_status: OrderFulfillmentStatusfulfillments?: OIOrderFulfillment[]history?: OIOrderHistory[]line_items: OIOrderLineItem[]mobile: stringmobile_notifications: booleannumber: numberpaid_at: stringpayment_detail?: OIPaymentDetail | nullprimary_rate: numberpromotion_id: stringrecovered: booleanreserved_at: stringrestored_at?: stringround_tax_at: RoundTaxAtsales_channel_id?: stringshipping_address: AddressCreateshipping_address_override?: AddressCreate | nullshipping_address_short_id?: stringshipping_detail: OIShippingDetailshipping_price: numbersource_name: OrderSourceNamesubtotal_price: numbertags?: string[]tax_inclusive_prices: booleantax_rounding: numbertotal_discounts: numbertotal_line_items_price: numbertotal_price: numbertotal_tax: numbertotal_weight: numberusd_rate: number}