Skip to main content
Anchor to CalculatedDraftOrderLineItem

CalculatedDraftOrderLineItem

object

Requires read_draft_orders access scope.

The calculated line item for a draft order.

•DraftOrderAppliedDiscount

The custom applied discount.

Show fields
Anchor to approximateDiscountedUnitPriceSetapproximateDiscountedUnitPriceSet
•MoneyBag!
non-null

The discountedTotal divided by quantity, 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
•[CalculatedDraftOrderLineItem!]!
non-null

The components of the draft order line item.

Show fields
•Boolean!
non-null

Whether the line item is custom (true) or contains a product variant (false).

•[Attribute!]!
non-null

A list of attributes that represent custom features or special requests.

Show fields
•[TypedAttribute!]!
non-null

The list of additional information (metafields) with the associated types.

Show fields
•MoneyV2!
non-null

The total price with discounts applied.

Show fields
•MoneyBag!
non-null

The total price with discounts applied.

Show fields
•FulfillmentService

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
•Image

The image associated with the draft order line item.

Show fields
•Boolean!
non-null

Whether the line item represents the purchase of a gift card.

•String!
non-null

The name of the product.

•MoneyV2!
non-null

The total price, excluding discounts, equal to the original unit price multiplied by quantity.

Show fields
•MoneyBag!
non-null

The total price excluding discounts, equal to the original unit price multiplied by quantity.

Show fields
•MoneyV2!
non-null

The line item price without any discounts applied.

Show fields
Anchor to originalUnitPriceSetoriginalUnitPriceSet
•MoneyBag!
non-null

The price without any discounts applied.

Show fields
Anchor to originalUnitPriceWithCurrencyoriginalUnitPriceWithCurrency
•MoneyV2

The original custom line item input price.

Show fields
•MoneyV2

The price override for the line item.

Show fields
•Product

The product for the line item.

Show fields
•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.

•Boolean!
non-null

Whether physical shipping is required for the variant.

•String

The SKU number of the product variant.

•Boolean!
non-null

Whether the variant is taxable.

•String!
non-null

The title of the product or variant. This field only applies to custom line items.

•MoneyV2!
non-null

The total value of the discount.

Show fields
•MoneyBag!
non-null

The total discount amount.

Show fields
•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.

•ProductVariant

The product variant for the line item.

Show fields
•String

The name of the variant.

•String

The name of the vendor who created the product variant.

•Weight

The weight unit and value.

Show fields

Deprecated fields

•[CalculatedDraftOrderLineItem!]!
non-nullDeprecated
Show fields
•MoneyV2!
non-nullDeprecated
Show fields
Anchor to discountedUnitPriceSetdiscountedUnitPriceSet
•MoneyBag!
non-nullDeprecated
Show fields

Was this section helpful?