Skip to main content
object

A customer’s completed request to purchase one or more products from a shop. Apps using the Customer Account API must meet the protected customer data requirements.

Anchor to Fields and connectionsFields and connections

SalesAgreementConnection!non-nullPre-auth accessible

A list of sales agreements associated with the order.

CustomerAddressPre-auth accessible

The mailing address provided by the customer. Not all orders have a mailing address.

DateTimePre-auth accessible

The date and time when the order was canceled. Returns null if the order wasn't canceled.

OrderCancelReasonPre-auth accessible

The reason for the cancellation of the order. Returns null if the order wasn't canceled.

StringPre-auth accessible

A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. For example, "XPAV284CT", "R50KELTJP" or "35PKUN0UJ". This value isn't guaranteed to be unique.

DateTime!non-nullPre-auth accessible

The date and time when the order was created.

CurrencyCode!non-nullPre-auth accessible

The shop currency when the order was placed.

CustomerPre-auth accessible

The customer who placed the order.

StringPre-auth accessible

The locale code representing the region where this specific order was placed.

Anchor to discountApplicationsdiscountApplications
DiscountApplicationConnection!non-nullPre-auth accessible

The discounts that have been applied to the order.

DraftOrderPre-auth accessible

The draft order associated with the order.

Boolean!non-nullPre-auth accessible

Whether the order has been edited or not.

StringPre-auth accessible

The email address of the customer.

OrderFinancialStatusPre-auth accessible

The financial status of the order.

FulfillmentConnection!non-nullPre-auth accessible

The fulfillments associated with the order.

OrderFulfillmentStatus!non-nullPre-auth accessible

The fulfillment status of the order.

ID!non-nullPre-auth accessible

A globally-unique ID.

LineItemConnection!non-nullPre-auth accessible

The list of line items of the order.

StringPre-auth accessible

The name of the fulfillment location assigned at the time of order creation.

MetafieldPre-auth accessible

A metafield found by namespace and key.

[Metafield]!non-nullPre-auth accessible

The metafields associated with the resource matching the supplied list of namespaces and keys.

String!non-nullPre-auth accessible

The identifier for the order that appears on the order. For example, #1000 or _Store1001.

StringPre-auth accessible

The order's notes.

Int!non-nullPre-auth accessible

A unique numeric identifier for the order, used by both the shop owner and customer.

OrderPaymentInformationPre-auth accessible

The payment information for the order.

String

The phone number of the customer for SMS notifications.

StringPre-auth accessible

The purchase order number of the order.

DateTime!non-nullPre-auth accessible

The date and time when the order was processed. This value can be set to dates in the past when importing from other systems. If no value is provided, it will be auto-generated based on current date and time.

PurchasingEntityPre-auth accessible

The purchasing entity for the order.

[Refund!]!non-nullPre-auth accessible

A list of refunds associated with the order.

Boolean!non-nullPre-auth accessible

Whether the order requires shipping.

OrderReturnInformation!non-nullPre-auth accessible

The return information for the order.

ReturnConnection!non-nullPre-auth accessible

The list of returns for the order with pagination.

CustomerAddressPre-auth accessible

The mailing address to which the order items are shipped.

Anchor to shippingDiscountAllocationsshippingDiscountAllocations
[DiscountAllocation!]!non-nullPre-auth accessible

The discounts that have been allocated onto the shipping line by discount applications.

ShippingLinePre-auth accessible

A summary of all shipping costs on the order.

URL!non-nullPre-auth accessible

The unique URL for the status page of the order.

Anchor to subscriptionContractssubscriptionContracts
SubscriptionContractConnection

The customer Subscription Contracts associated with the order.

MoneyV2Pre-auth accessible

The price of the order before duties, shipping, and taxes.

MoneyV2Pre-auth accessible

The total amount of duties after returns.

MoneyV2!non-nullPre-auth accessible

The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned.

MoneyV2!non-nullPre-auth accessible

The total amount refunded.

MoneyV2!non-nullPre-auth accessible

The total cost of shipping.

MoneyV2Pre-auth accessible

The total cost of taxes.

MoneyV2Pre-auth accessible

The total value of tips.

[OrderTransaction!]!non-nullPre-auth accessible

A list of transactions associated with the order.

DateTime!non-null

The date and time when the order was last updated.


Was this section helpful?

query

Returns an Order resource by ID. Apps using the Customer Account API must meet the protected customer data requirements.


Was this section helpful?


Was this section helpful?