Skip to main content
object

Requires read_draft_orders access scope.

The line item for a draft order.

•DraftOrderAppliedDiscount

The custom applied discount.

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.

•[DraftOrderLineItem!]!non-null

The components of the draft order line item.

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

•[TypedAttribute!]!non-null

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

•MoneyBag!non-null

The total price with discounts applied.

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

•ID!non-null

A globally-unique ID.

•Image

The image of the product variant.

•Boolean!non-null

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

•String!non-null

The name of the product.

•MoneyBag!non-null

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

Anchor to originalUnitPriceSetoriginalUnitPriceSet
•MoneyBag!non-null

The price without any discounts applied.

Anchor to originalUnitPriceWithCurrencyoriginalUnitPriceWithCurrency
•MoneyV2

The original custom line item input price.

•MoneyV2

The price override for the line item.

•Product

The product for the line item.

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

•[TaxLine!]!non-null

A list of tax lines.

•String!non-null

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

•MoneyBag!non-null

The total discount amount.

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

•String

The name of the variant.

•String

The name of the vendor who created the product variant.

•Weight

The weight unit and value.

Deprecated fields

•[DraftOrderLineItem!]!non-nullDeprecated
•Money!non-nullDeprecated
•Money!non-nullDeprecated
Anchor to discountedUnitPriceSetdiscountedUnitPriceSet
•MoneyBag!non-nullDeprecated
•IntDeprecated
•Money!non-nullDeprecated
•Money!non-nullDeprecated
•Money!non-nullDeprecated

Was this section helpful?

•interface

Was this section helpful?
OSZAR »