# orderByIdentifier - admin - QUERY Version: unstable ## Description Return an order by an identifier. ### Access Scopes `read_orders` access scope or `read_marketplace_orders` access scope. ## Arguments * [identifier](/docs/api/admin/unstable/input-objects/OrderIdentifierInput): OrderIdentifierInput! - The identifier of the order. ## Returns * [additionalFees](/docs/api/admin/unstable/objects/AdditionalFee): AdditionalFee! A list of additional fees applied to the order. * [alerts](/docs/api/admin/unstable/objects/ResourceAlert): ResourceAlert! A list of messages that appear on the order page in the Shopify admin. * [app](/docs/api/admin/unstable/objects/OrderApp): OrderApp The application that created the order. * [billingAddress](/docs/api/admin/unstable/objects/MailingAddress): MailingAddress The billing address of the customer. * [billingAddressMatchesShippingAddress](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the billing address matches the shipping address. * [canMarkAsPaid](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the order can be manually marked as paid. * [canNotifyCustomer](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether a customer email exists for the order. * [cancelReason](/docs/api/admin/unstable/enums/OrderCancelReason): OrderCancelReason The reason provided when the order was canceled. Returns `null` if the order wasn't canceled. * [cancellation](/docs/api/admin/unstable/objects/OrderCancellation): OrderCancellation Cancellation details for the order. * [cancelledAt](/docs/api/admin/unstable/scalars/DateTime): DateTime The date and time when the order was canceled. Returns `null` if the order wasn't canceled. * [capturable](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether payment for the order can be captured. * [cartDiscountAmount](/docs/api/admin/unstable/scalars/Money): Money The total order-level discount amount, before returns, in shop currency. * [cartDiscountAmountSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag The total order-level discount amount, before returns, in shop and presentment currencies. * [channel](/docs/api/admin/unstable/objects/Channel): Channel The channel that created the order. * [channelInformation](/docs/api/admin/unstable/objects/ChannelInformation): ChannelInformation Details about the channel that created the order. * [clientIp](/docs/api/admin/unstable/scalars/String): String The IP address of the API client that created the order. * [closed](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the order is closed. * [closedAt](/docs/api/admin/unstable/scalars/DateTime): DateTime The date and time when the order was closed. Returns `null` if the order isn't closed. * [confirmationNumber](/docs/api/admin/unstable/scalars/String): String 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. * [confirmed](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether inventory has been reserved for the order. * [createdAt](/docs/api/admin/unstable/scalars/DateTime): DateTime! Date and time when the order was created in Shopify. * [currencyCode](/docs/api/admin/unstable/enums/CurrencyCode): CurrencyCode! The shop currency when the order was placed. * [currentCartDiscountAmountSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The current order-level discount amount after all order updates, in shop and presentment currencies. * [currentShippingPriceSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The current shipping price after applying refunds and discounts. If the parent `order.taxesIncluded` field is true, then this price includes taxes. Otherwise, this field is the pre-tax price. * [currentSubtotalLineItemsQuantity](/docs/api/admin/unstable/scalars/Int): Int! The sum of the quantities for all line items that contribute to the order's current subtotal price. * [currentSubtotalPriceSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The sum of the prices for all line items after discounts and returns, in shop and presentment currencies. If `taxesIncluded` is `true`, then the subtotal also includes tax. * [currentTaxLines](/docs/api/admin/unstable/objects/TaxLine): TaxLine! A list of all tax lines applied to line items on the order, after returns. Tax line prices represent the total price for all tax lines with the same `rate` and `title`. * [currentTotalAdditionalFeesSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag The total amount of additional fees after returns, in shop and presentment currencies. Returns `null` if there are no additional fees for the order. * [currentTotalDiscountsSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total amount discounted on the order after returns, in shop and presentment currencies. This includes both order and line level discounts. * [currentTotalDutiesSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag The total amount of duties after returns, in shop and presentment currencies. Returns `null` if duties aren't applicable. * [currentTotalPriceSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total price of the order, after returns, in shop and presentment currencies. This includes taxes and discounts. * [currentTotalTaxSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The sum of the prices of all tax lines applied to line items on the order, after returns, in shop and presentment currencies. * [currentTotalWeight](/docs/api/admin/unstable/scalars/UnsignedInt64): UnsignedInt64! The total weight of the order after returns, in grams. * [customAttributes](/docs/api/admin/unstable/objects/Attribute): Attribute! A list of additional merchant-facing details that have been added to the order. For example, whether an order is a customer's first. * [customer](/docs/api/admin/unstable/objects/Customer): Customer The customer that placed the order. * [customerAcceptsMarketing](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the customer agreed to receive marketing materials. * [customerJourney](/docs/api/admin/unstable/objects/CustomerJourney): CustomerJourney The customer's visits and interactions with the online store before placing the order. * [customerJourneySummary](/docs/api/admin/unstable/objects/CustomerJourneySummary): CustomerJourneySummary The customer's visits and interactions with the online store before placing the order. * [customerLocale](/docs/api/admin/unstable/scalars/String): String A two-letter or three-letter language code, optionally followed by a region modifier. * [discountCode](/docs/api/admin/unstable/scalars/String): String The discount code used for the order. * [discountCodes](/docs/api/admin/unstable/scalars/String): String! The discount codes used for the order. * [displayAddress](/docs/api/admin/unstable/objects/MailingAddress): MailingAddress The primary address of the customer. Returns `null` if neither the shipping address nor the billing address was provided. * [displayFinancialStatus](/docs/api/admin/unstable/enums/OrderDisplayFinancialStatus): OrderDisplayFinancialStatus The financial status of the order that can be shown to the merchant. This field doesn't capture all the details of an order's financial state. It should only be used for display summary purposes. * [displayFulfillmentStatus](/docs/api/admin/unstable/enums/OrderDisplayFulfillmentStatus): OrderDisplayFulfillmentStatus! The fulfillment status for the order that can be shown to the merchant. This field does not capture all the details of an order's fulfillment state. It should only be used for display summary purposes. For a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object. * [displayRefundStatus](/docs/api/admin/unstable/enums/OrderDisplayRefundStatus): OrderDisplayRefundStatus The status of the refund(s) that can be shown to the merchant. Mostly used when a refund is in a deferred state (i.e. it was not yet sent to the payments provider). * [disputes](/docs/api/admin/unstable/objects/OrderDisputeSummary): OrderDisputeSummary! A list of the disputes associated with the order. * [dutiesIncluded](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether duties are included in the subtotal price of the order. * [edited](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the order has had any edits applied. * [email](/docs/api/admin/unstable/scalars/String): String The email address associated with the customer. * [estimatedTaxes](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether taxes on the order are estimated. This field returns `false` when taxes on the order are finalized and aren't subject to any changes. * [fulfillable](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether there are line items that can be fulfilled. This field returns `false` when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object. * [fulfillments](/docs/api/admin/unstable/objects/Fulfillment): Fulfillment! List of shipments for the order. * [fulfillmentsCount](/docs/api/admin/unstable/objects/Count): Count The count of fulfillments including the cancelled fulfillments. * [fullyPaid](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the order has been paid in full. * [hasTimelineComment](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the merchant added a timeline comment to the order. * [id](/docs/api/admin/unstable/scalars/ID): ID! A globally-unique ID. * [incotermInformation](/docs/api/admin/unstable/objects/IncotermInformation): IncotermInformation Information about the incoterm used for the order. * [landingPageDisplayText](/docs/api/admin/unstable/scalars/String): String The URL of the first page of the online store that the customer visited before they submitted the order. * [landingPageUrl](/docs/api/admin/unstable/scalars/URL): URL The first page of the online store that the customer visited before they submitted the order. * [legacyResourceId](/docs/api/admin/unstable/scalars/UnsignedInt64): UnsignedInt64! The ID of the corresponding resource in the REST Admin API. * [merchantBusinessEntity](/docs/api/admin/unstable/objects/BusinessEntity): BusinessEntity! The merchant's business entity associated with the order. * [merchantEditable](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the order can be edited by the merchant. For example, canceled orders can’t be edited. * [merchantEditableErrors](/docs/api/admin/unstable/scalars/String): String! A list of reasons why the order can't be edited. For example, "Canceled orders can't be edited". * [merchantOfRecordApp](/docs/api/admin/unstable/objects/OrderApp): OrderApp The application acting as the Merchant of Record for the order. * [metafield](/docs/api/admin/unstable/objects/Metafield): Metafield A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information. * [metafieldsByIdentifiers](/docs/api/admin/unstable/objects/Metafield): Metafield! The metafields associated with the resource matching the supplied list of namespaces and keys. * [name](/docs/api/admin/unstable/scalars/String): String! The unique identifier for the order that appears on the order page in the Shopify admin and the <b>Order status</b> page. For example, "#1001", "EN1001", or "1001-A". This value isn't unique across multiple stores. * [netPayment](/docs/api/admin/unstable/scalars/Money): Money! The net payment for the order, based on the total amount received minus the total amount refunded, in shop currency. * [netPaymentSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The net payment for the order, based on the total amount received minus the total amount refunded, in shop and presentment currencies. * [note](/docs/api/admin/unstable/scalars/String): String The contents of the note associated with the order. * [originalTotalAdditionalFeesSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag The total amount of additional fees at the time of order creation, in shop and presentment currencies. Returns `null` if additional fees aren't applicable. * [originalTotalDutiesSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag The total amount of duties at the time of order creation, in shop and presentment currencies. Returns `null` if duties aren't applicable. * [originalTotalPriceSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total price of the order at the time of order creation, in shop and presentment currencies. * [paymentCollectionDetails](/docs/api/admin/unstable/objects/OrderPaymentCollectionDetails): OrderPaymentCollectionDetails! The payment collection details for the order. * [paymentGatewayNames](/docs/api/admin/unstable/scalars/String): String! A list of the names of all payment gateways used for the order. For example, "Shopify Payments" and "Cash on Delivery (COD)". * [paymentTerms](/docs/api/admin/unstable/objects/PaymentTerms): PaymentTerms The payment terms associated with the order. * [phone](/docs/api/admin/unstable/scalars/String): String The phone number associated with the customer. * [physicalLocation](/docs/api/admin/unstable/objects/Location): Location The fulfillment location that was assigned when the order was created. Orders can have multiple fulfillment orders. These fulfillment orders can each be assigned to a different location which is responsible for fulfilling a subset of the items in an order. The `Order.physicalLocation` field will only point to one of these locations. Use the [`FulfillmentOrder`](https://shopify.dev/api/admin-graphql/latest/objects/fulfillmentorder) object for up to date fulfillment location information. * [poNumber](/docs/api/admin/unstable/scalars/String): String The PO number associated with the order. * [presentmentCurrencyCode](/docs/api/admin/unstable/enums/CurrencyCode): CurrencyCode! The payment `CurrencyCode` of the customer for the order. * [processedAt](/docs/api/admin/unstable/scalars/DateTime): DateTime! The date and time when the order was processed. This date and time might not match the date and time when the order was created. * [publication](/docs/api/admin/unstable/objects/Publication): Publication The publication that the order was created from. * [purchasingEntity](/docs/api/admin/unstable/unions/PurchasingEntity): PurchasingEntity The purchasing entity for the order. * [referralCode](/docs/api/admin/unstable/scalars/String): String The marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: "ref", "source", or "r". For example, if the URL is `{shop}.myshopify.com/products/slide?ref=j2tj1tn2`, then this value is `j2tj1tn2`. * [referrerDisplayText](/docs/api/admin/unstable/scalars/String): String A web domain or short description of the source that sent the customer to your online store. For example, "shopify.com" or "email". * [referrerUrl](/docs/api/admin/unstable/scalars/URL): URL The URL of the webpage where the customer clicked a link that sent them to your online store. * [refundDiscrepancySet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The difference between the suggested and actual refund amount of all refunds that have been applied to the order. A positive value indicates a difference in the merchant's favor, and a negative value indicates a difference in the customer's favor. * [refundable](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the order can be refunded. * [refunds](/docs/api/admin/unstable/objects/Refund): Refund! A list of refunds that have been applied to the order. * [registeredSourceUrl](/docs/api/admin/unstable/scalars/URL): URL The URL of the source that the order originated from, if found in the domain registry. * [requiresShipping](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the order has shipping lines or at least one line item on the order that requires shipping. * [restockable](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether any line item on the order can be restocked. * [retailLocation](/docs/api/admin/unstable/objects/Location): Location The physical location where a retail order is created or completed, except for draft POS orders completed via the “mark as paid” flow in Admin, which return null. * [returnStatus](/docs/api/admin/unstable/enums/OrderReturnStatus): OrderReturnStatus! The order's aggregated return status for display purposes. * [risk](/docs/api/admin/unstable/objects/OrderRiskSummary): OrderRiskSummary! The risk characteristics for the order. * [shippingAddress](/docs/api/admin/unstable/objects/MailingAddress): MailingAddress The mailing address of the customer. * [shippingLine](/docs/api/admin/unstable/objects/ShippingLine): ShippingLine A summary of all shipping costs on the order. * [shopifyProtect](/docs/api/admin/unstable/objects/ShopifyProtectOrderSummary): ShopifyProtectOrderSummary The Shopify Protect details for the order. If Shopify Protect is disabled for the shop, then this will be null. * [sourceIdentifier](/docs/api/admin/unstable/scalars/String): String A unique POS or third party order identifier. For example, "1234-12-1000" or "111-98567-54". The `receipt_number` field is derived from this value for POS orders. * [sourceName](/docs/api/admin/unstable/scalars/String): String The name of the source associated with the order. * [staffMember](/docs/api/admin/unstable/objects/StaffMember): StaffMember The staff member associated with the order. * [statusPageUrl](/docs/api/admin/unstable/scalars/URL): URL! The URL where the customer can check the order's current status. * [subtotalLineItemsQuantity](/docs/api/admin/unstable/scalars/Int): Int! The sum of the quantities for all line items that contribute to the order's subtotal price. * [subtotalPrice](/docs/api/admin/unstable/scalars/Money): Money The sum of the prices for all line items after discounts and before returns, in shop currency. If `taxesIncluded` is `true`, then the subtotal also includes tax. * [subtotalPriceSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag The sum of the prices for all line items after discounts and before returns, in shop and presentment currencies. If `taxesIncluded` is `true`, then the subtotal also includes tax. * [suggestedRefund](/docs/api/admin/unstable/objects/SuggestedRefund): SuggestedRefund A suggested refund for the order. * [tags](/docs/api/admin/unstable/scalars/String): String! A comma separated list of tags associated with the order. Updating `tags` overwrites any existing tags that were previously added to the order. To add new tags without overwriting existing tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) mutation. * [taxExempt](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether taxes are exempt on the order. * [taxLines](/docs/api/admin/unstable/objects/TaxLine): TaxLine! A list of all tax lines applied to line items on the order, before returns. Tax line prices represent the total price for all tax lines with the same `rate` and `title`. * [taxesIncluded](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether taxes are included in the subtotal price of the order. * [test](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order can't be converted into a real order and vice versa. * [totalCapturable](/docs/api/admin/unstable/scalars/Money): Money! The authorized amount that's uncaptured or undercaptured, in shop currency. This amount isn't adjusted for returns. * [totalCapturableSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The authorized amount that's uncaptured or undercaptured, in shop and presentment currencies. This amount isn't adjusted for returns. * [totalCashRoundingAdjustment](/docs/api/admin/unstable/objects/CashRoundingAdjustment): CashRoundingAdjustment! The total rounding adjustment applied to payments or refunds for an Order involving cash payments. Applies to some countries where cash transactions are rounded to the nearest currency denomination. * [totalDiscounts](/docs/api/admin/unstable/scalars/Money): Money The total amount discounted on the order before returns, in shop currency. This includes both order and line level discounts. * [totalDiscountsSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag The total amount discounted on the order before returns, in shop and presentment currencies. This includes both order and line level discounts. * [totalOutstandingSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total amount not yet transacted for the order, in shop and presentment currencies. A positive value indicates a difference in the merchant's favor (payment from customer to merchant) and a negative value indicates a difference in the customer's favor (refund from merchant to customer). * [totalPrice](/docs/api/admin/unstable/scalars/Money): Money! The total price of the order, before returns, in shop currency. This includes taxes and discounts. * [totalPriceSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total price of the order, before returns, in shop and presentment currencies. This includes taxes and discounts. * [totalReceived](/docs/api/admin/unstable/scalars/Money): Money! The total amount received from the customer before returns, in shop currency. * [totalReceivedSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total amount received from the customer before returns, in shop and presentment currencies. * [totalRefunded](/docs/api/admin/unstable/scalars/Money): Money! The total amount that was refunded, in shop currency. * [totalRefundedSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total amount that was refunded, in shop and presentment currencies. * [totalRefundedShippingSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total amount of shipping that was refunded, in shop and presentment currencies. * [totalShippingPrice](/docs/api/admin/unstable/scalars/Money): Money! The total shipping amount before discounts and returns, in shop currency. * [totalShippingPriceSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The total shipping amount before discounts and returns, in shop and presentment currencies. * [totalTax](/docs/api/admin/unstable/scalars/Money): Money The total tax amount before returns, in shop currency. * [totalTaxSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag The total tax amount before returns, in shop and presentment currencies. * [totalTipReceived](/docs/api/admin/unstable/objects/MoneyV2): MoneyV2! The sum of all tip amounts for the order, in shop currency. * [totalTipReceivedSet](/docs/api/admin/unstable/objects/MoneyBag): MoneyBag! The sum of all tip amounts for the order, in shop and presentment currencies. * [totalWeight](/docs/api/admin/unstable/scalars/UnsignedInt64): UnsignedInt64 The total weight of the order before returns, in grams. * [transactions](/docs/api/admin/unstable/objects/OrderTransaction): OrderTransaction! A list of transactions associated with the order. * [transactionsCount](/docs/api/admin/unstable/objects/Count): Count The number of transactions associated with the order. * [unpaid](/docs/api/admin/unstable/scalars/Boolean): Boolean! Whether no payments have been made for the order. * [updatedAt](/docs/api/admin/unstable/scalars/DateTime): DateTime! The date and time when the order was modified last. ## Examples