Calculated Draft Order Line Item
Requires access scope.
The calculated line item for a draft order.
Anchor to FieldsFields
- appliedDiscount (DraftOrderAppliedDiscount)
- approximateDiscountedUnitPriceSet (MoneyBag!)
- components ([CalculatedDraftOrderLineItem!]!)
- custom (Boolean!)
- customAttributes ([Attribute!]!)
- customAttributesV2 ([TypedAttribute!]!)
- discountedTotal (MoneyV2!)
- discountedTotalSet (MoneyBag!)
- fulfillmentService (FulfillmentService)
- image (Image)
- isGiftCard (Boolean!)
- name (String!)
- originalTotal (MoneyV2!)
- originalTotalSet (MoneyBag!)
- originalUnitPrice (MoneyV2!)
- originalUnitPriceSet (MoneyBag!)
- originalUnitPriceWithCurrency (MoneyV2)
- priceOverride (MoneyV2)
- product (Product)
- quantity (Int!)
- requiresShipping (Boolean!)
- sku (String)
- taxable (Boolean!)
- title (String!)
- totalDiscount (MoneyV2!)
- totalDiscountSet (MoneyBag!)
- uuid (String!)
- variant (ProductVariant)
- variantTitle (String)
- vendor (String)
- weight (Weight)
- Anchor to appliedDiscountapplied•Draft
Discount Order Applied Discount The custom applied discount.
Show fields
- Anchor to approximateDiscountedUnitPriceSetapproximate•Money
Discounted Unit Price Set Bag! non-null The
divided byquantity, equal to the average value of the line item price per unit after discounts are applied. This value doesn't include discounts applied to the entire draft order.Show fields
- Anchor to componentscomponents•[Calculated
Draft Order Line Item!]! non-null The components of the draft order line item.
Show fields
- Anchor to customcustom•Boolean!non-null
Whether the line item is custom (
true) or contains a product variant (false).- Anchor to customAttributescustom•[Attribute!]!
Attributes non-null A list of attributes that represent custom features or special requests.
Show fields
- Anchor to customAttributesV2custom•[Typed
Attributes V2 Attribute!]! non-null The list of additional information (metafields) with the associated types.
Show fields
- Anchor to discountedTotaldiscounted•Money
Total V2! non-null The total price with discounts applied.
Show fields
- Anchor to discountedTotalSetdiscounted•Money
Total Set Bag! non-null The total price with discounts applied.
Show fields
- Anchor to fulfillmentServicefulfillment•Fulfillment
Service Service Name of the service provider who fulfilled the order.
Valid values are either manual or the name of the provider. For example, amazon, shipwire.
Deleted fulfillment services will return null.
Show fields
- Anchor to imageimage•Image
The image associated with the draft order line item.
Show fields
- Anchor to isGiftCardis•Boolean!
Gift Card non-null Whether the line item represents the purchase of a gift card.
- Anchor to namename•String!non-null
The name of the product.
- Anchor to originalTotaloriginal•Money
Total V2! non-null The total price, excluding discounts, equal to the original unit price multiplied by quantity.
Show fields
- Anchor to originalTotalSetoriginal•Money
Total Set Bag! non-null The total price excluding discounts, equal to the original unit price multiplied by quantity.
Show fields
- Anchor to originalUnitPriceoriginal•Money
Unit Price V2! non-null The line item price without any discounts applied.
Show fields
- Anchor to originalUnitPriceSetoriginal•Money
Unit Price Set Bag! non-null The price without any discounts applied.
Show fields
- Anchor to originalUnitPriceWithCurrencyoriginal•Money
Unit Price With Currency V2 The original custom line item input price.
Show fields
- Anchor to priceOverrideprice•Money
Override V2 The price override for the line item.
Show fields
- Anchor to productproduct•Product
The product for the line item.
Show fields
- Anchor to quantityquantity•Int!non-null
The quantity of items. For a bundle item, this is the quantity of bundles, not the quantity of items contained in the bundles themselves.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-null Whether physical shipping is required for the variant.
- •String
The SKU number of the product variant.
- Anchor to taxabletaxable•Boolean!non-null
Whether the variant is taxable.
- Anchor to titletitle•String!non-null
The title of the product or variant. This field only applies to custom line items.
- Anchor to totalDiscounttotal•Money
Discount V2! non-null The total value of the discount.
Show fields
- Anchor to totalDiscountSettotal•Money
Discount Set Bag! non-null The total discount amount.
Show fields
- Anchor to uuiduuid•String!non-null
The UUID of the draft order line item. Must be unique and consistent across requests. This field is mandatory in order to manipulate drafts with bundles.
- Anchor to variantvariant•Product
Variant The product variant for the line item.
Show fields
- Anchor to variantTitlevariant•String
Title The name of the variant.
- Anchor to vendorvendor•String
The name of the vendor who created the product variant.
- Anchor to weightweight•Weight
The weight unit and value.
Show fields
Deprecated fields
- bundleComponents ([CalculatedDraftOrderLineItem!]!): deprecated
- discountedUnitPrice (MoneyV2!): deprecated
- discountedUnitPriceSet (MoneyBag!): deprecated
- Anchor to bundleComponentsbundle•[Calculated
Components Draft Order Line Item!]! non-nullDeprecated Show fields
- Anchor to discountedUnitPricediscounted•Money
Unit Price V2! non-nullDeprecated Show fields
- Anchor to discountedUnitPriceSetdiscounted•Money
Unit Price Set Bag! non-nullDeprecated Show fields