Order
ObjectFields returned for order.
Fields
- OrderAddress
billingAddress Gets the billing address associated with the order. This may be the same as the shipping address.
- DateTime!
createdAt The date and time when the order was created.
- Customer
customer The customer associated with this order.
- DiscountApplicationConnection!
discountApplications Retrieves a paginated list of discount applications for the order
- OrderEventConnection!
events Retrieves a paginated list of events for a specific order.
- String
externalReference The external reference for the order.
- [OrderFulfillment!]!
fulfillments Gets the fulfillments associated with the order.
- ID!
id The unique identifier for the order.
- Boolean!
isPaymentSecured Indicates whether the payment for the order is secured.
- OrderLineItemConnection!
lineItems Retrieves a paginated list of line items for a specific order.
- Long!
lineItemsQuantity Sum of all LineItem quantities.
- [MetadataItem!]!
metadata Gets the metadata associated with the order.
- [Metafield!]!
metafields The metafields associated with this order.
- Int!
orderNumber The order number.
- OrderState!
orderState Current status of the Order.
Possible enum valuesCANCELLEDThe order was cancelled before completion.
COMPLETEProcessing of the order has been completed.
CONFIRMEDThe order has been accepted for processing.
OPENThe order has been created and can still be processed.
- PaymentState!
paymentState Payment status of the Order.
Possible enum valuesAUTHORIZEDThe full payable amount has been authorized but not fully captured.
BALANCE_DUEThe order still has an amount that must be paid.
FAILEDThe required payment processing did not succeed.
OVERPAIDThe collected amount is greater than the order's payable balance.
PAIDThe order's payable balance has been collected.
PARTIALLY_AUTHORIZEDOnly part of the payable amount has been authorized.
PARTIALLY_REFUNDEDPart of the captured amount has been refunded.
PENDINGNo payment attempt has reached a final or authorized state.
REFUNDEDThe captured amount has been fully refunded.
- PaymentConnection!
payments Retrieves a paginated list of payments for a specific order.
- ShipmentState!
shipmentState Shipment status of the Order.
Possible enum valuesCANCELLEDThe order's shipment was cancelled.
DELIVEREDThe order's shipment has reached its destination.
PENDINGNo shipment is ready to leave yet.
READYAt least one shipment is prepared and waiting to be sent.
SHIPPEDThe order's shipment has been handed over for delivery.
- OrderAddress
shippingAddress Gets the shipping address associated with the order.
- [OrderShippingLine!]!
shippingLines Gets the shipping lines associated with the order.
- Store
store Gets the store associated with the cart.
- Money!
subtotal Gets the total price of the order before discounts and taxes.
- TaxedPrice
taxedPrice Gets the taxed price of the order. This may be null if the order does not yet have a taxed price.
- Money!
total Gets the total price of the order after discounts and taxes.
Queries
Retrieves a single order by
ID.Retrieves a paged list of orders with optional filtering, sorting, and search.
Mutations
Runs the draft order place operation.
Add a customer to an order
Remove a customer from an order
Update an order