Description
Topic: Orders
Fields
The date and time when the order was last abandoned
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
abandoned_email_message: Message
Abandoned order recovery email message (you can use it to perform a resend)
Expandable
Permission bit: "messages.read"
abandoned_email_processed_at: String
The date and time when order was considered for recovery email notification
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Number of times this order was abandoned
Example: 5
authorization_expires_at: String
The date and time when order payment authorization expires
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
billing_address: Address
Billing address of the order
billing_address_short: AddressShort
Short version of the billing address
Expandable
calc_log: [OrderCalcLog!]!
Order calculation log
Whether order was successfully "calculated" or not
Example: false
cancel_reason: OrderCancelReason
The reason why the order was canceled
Example: "customer"
The date and time when the order was canceled or null
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Pending payment intent secret when gateway is "stripe"
Example: "pi_1EaAoC2eZvKYlo2C6OmgnpXw_secret_tYSeiTjxphYCjZNjrcaCFRa5v"
The date and time when the order was closed or null
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
coupon: Coupon
Coupon associated with the order (when "discount_code" is provided and resolved)
Expandable
Permission bit: "coupons.read"
The date and time when the order was created
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Currency code
Example: "USD"
custom_items: [OrderCustomItem!]
Custom line items defined for this order
customer: Customer
Customer who created the order
Expandable
Permission bit: "customers.read"
Amount of money spent on the customer balance
Example: 0
Customer email, used in no auth order flows
Example: "foo@bar.com"
Coupon code if set
display: OrderDisplay
Numerical draft order identifier unique to the shop
Example: 1
financial_status: OrderFinancialStatus!
Financial status of the order
Example: "unpaid"
The date and time when the order was completely fulfilled
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
fulfillment_status: OrderFulfillmentStatus!
Fulfillment status of the order
Example: "unfulfilled"
gateway: Gateway
Gateway picked for this order
Expandable
Permission bit: "gateways.read"
gateway_type: GatewayType
Gateway type
history: [OrderHistory!]!
Order history
A unique order identifier
Example: "or_EQzGqWoY"
Due date and time for order's invoice
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
invoice_email_message: Message
Invoice email message (you can use it to perform a resend)
Expandable
Permission bit: "messages.read"
line_items: [OrderLineItem!]!
Order line items
The date and time when the order was marked as lost
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
The mobile phone number of the customer (used for notifications)
Example: "45634634562"
mobile_notifications: Boolean!
Whether to notify customer via mobile phone or not
Example: false
Numerical order identifier unique to the shop
Example: 1001
Whether server thinks order is on hold or not (depends on server time)
Example: false
The date and time when order is no longer considered on hold
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
packaging_detail: [PackedBox!]!
The date and time when the order was transitioned to one of the payment states
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
paid_email_message: Message
Email that was sent on payment (you can use it to perform a resend)
Expandable
Permission bit: "messages.read"
payment_detail: PaymentDetail
Conversion rate from order's currency to shop's primary currency
Example: 1.2525236
promotion: Promotion
Promotion associated with the order (when "discount_code" is provided and resolved)
Expandable
Permission bit: "promotions.read"
Whether this order is considered as recovered (before entering paid state it was abandoned)
Example: false
The date and time when the order resources were reserved
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
The date and time when the order was last restored from being abandoned
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
review_reminder_email_message: Message
Review reminder email message (you can use it to perform a resend)
Expandable
Permission bit: "messages.read"
review_reminder_email_processed_at: String
The date and time when order was considered for review reminder email notification
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
risk: OrderRisk
Risk evaluation result for this order
Expandable
round_tax_at: RoundTaxAt!
At what level the tax should be rounded
rule_eval_detail: OrderRuleEvalDetail!
sales_channel: SalesChannel
Sales channel associated with this order
Expandable
Permission bit: "sales_channels.read"
selected_shipping_rates: [ShippingRate!]!
send_fulfillment_notifications: Boolean!
Should customer receive fulfillment-related notifications or not
Example: true
send_order_notifications: Boolean!
Should customer receive order-related notifications or not
Example: true
shipping_address: Address
Shipping address of the order
shipping_address_override: Address
Shipping address override
shipping_address_short: AddressShort
Short version of the shipping address
Expandable
shipping_address_verification: AddressVerification
Verification status of the shipping address
shipping_detail: ShippingDetail
Shipping price
Example: 0
shipping_rate_groups: [ShippingRateGroup!]
A list of available shipping rates and shipping providers (only after they were calculated)
source_name: OrderSourceName!
Where the order originated from
Example: "web"
state: OrderState!
State of an order
Example: "cart"
subscription: Subscription
Subscription associated with this order
Expandable
Permission bit: "subscriptions.read"
Price of the order before shipping and taxes
Example: 0
Order tags (can be used for organization)
tax_inclusive_prices: Boolean!
Whether prices include the tax or not
Example: false
Difference between sum of rounded values and rounded sum for taxes
Example: 1
Pre-calculated tips preview
Example: 100
The total amount of the discounts to be applied to the price of the order
Example: 0
The sum of all the prices of all the items in the order (before any discounts, taxes and shipping)
Example: 0
The sum of all the prices of all the items in the order, taxes and discounts included
Example: 0
The sum of all the taxes applied to the order
Example: 0
The sum of all the weights of the line items in the order, in grams
Example: 0
unpacked_items: [UnpackedItem!]!
The date and time when the order was last modified
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Conversion rate from order's currency to USD
Example: 1.2525236
user: User
User who created the order
Expandable
Permission bit: "users.read"
UUID for this order, used for anonymous users authorization
Example: "550e8400-e29b-41d4-a716-446655440000"
Used By
Mutations
ordersAllocateNumber, ordersCalculate, ordersCancel, ordersCancelReservation, ordersCapture, ordersCreate, ordersCreateImported, ordersModify, ordersOverride, ordersPay, ordersRefund, ordersReserve, ordersRestock, ordersSendInvoice, ordersSendReminder
Queries
Types
Customer, CustomerBalance, CustomerInventory, OrderExpandableItems, OrderPage, OrderSearchResult, Return, Subscription, UnifiedSearchResult
Preview (typescript)
Loading module