TanqoryDocs

DraftOrder

  • Object
  • Orders and payments

An order being prepared by staff before the customer pays: items, prices, discounts, customer, addresses and invoice details.

Implements CommentEventSubject, HasEvents, HasLocalizationExtensions, HasLocalizedFields, HasMetafields, LegacyInteroperability, Navigable, Node.

Fields

FieldTypeDescription
acceptAutomaticDiscountsBoolean
allVariantPricesOverriddenBoolean!
allowDiscountCodesInCheckoutBoolean!
amountDueLaterSetMoneyBag!
amountDueNowSetMoneyBag!
anyVariantPricesOverriddenBoolean!
appliedDiscountDraftOrderAppliedDiscount
billingAddressMailingAddress
billingAddressMatchesShippingAddressBoolean!
completedAtDateTime
createdAtDateTime!
currencyCodeCurrencyCode!
customAttributes[Attribute!]!
customerCustomer
defaultCursorString!
depositDepositConfiguration
discountCodes[String!]!
emailString
eventsEventConnection!
hasTimelineCommentBoolean!
idID!
invoiceEmailTemplateSubjectString!
invoiceSentAtDateTime
invoiceUrlURL
legacyResourceIdUnsignedInt64!
lineItemsDraftOrderLineItemConnection!
lineItemsSubtotalPriceMoneyBag!
localizationExtensionsLocalizationExtensionConnection!

Deprecated

localizedFieldsLocalizedFieldConnection!
marketNameString!

Deprecated

marketRegionCountryCodeCountryCode!

Deprecated

metafieldMetafield
metafieldsMetafieldConnection!
nameString!
note2String
orderOrder
paymentTermsPaymentTerms
phoneString
platformDiscounts[DraftOrderPlatformDiscount!]!
poNumberString
presentmentCurrencyCodeCurrencyCode!
purchasingEntityPurchasingEntity
readyBoolean!
reserveInventoryUntilDateTime
shippingAddressMailingAddress
shippingLineShippingLine
statusDraftOrderStatus!
subtotalPriceMoney!

Deprecated

subtotalPriceSetMoneyBag!
tags[String!]!
tanqoryExtUpdatedByStaffMember

The staff member who last created or updated the draft order through the admin (draftOrderCreate / draftOrderUpdate), with updatedAt as the time. Null when the last change was made by an app or before changes were attributed.

taxExemptBoolean!
taxLines[TaxLine!]!
taxesIncludedBoolean!
totalDiscountsSetMoneyBag!
totalLineItemsPriceSetMoneyBag!
totalPriceMoney!

Deprecated

totalPriceSetMoneyBag!
totalQuantityOfLineItemsInt!
totalShippingPriceMoney!

Deprecated

totalShippingPriceSetMoneyBag!
totalTaxMoney!

Deprecated

totalTaxSetMoneyBag!
totalWeightUnsignedInt64!
transformerFingerprintString
updatedAtDateTime!
visibleToCustomerBoolean!
warnings[DraftOrderWarning!]!

Returned by

Used in fields

Built from commit c0b3fb3fdef7 · API version 2026-10