Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to CalculatedDraftOrderLineItem

CalculatedDraftOrderLineItem

object

Requires read_draft_orders access scope.

The calculated line item for a draft order.

•

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.

•

The bundle components of the draft order line item.

•
Boolean!non-null

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

•

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

•

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

•
MoneyV2!non-null

The total price with discounts applied.

•
MoneyBag!non-null

The total price with discounts applied.

•

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.

•

The image associated with the draft order line item.

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

•
MoneyBag!non-null

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

•
MoneyV2!non-null

The line item price without any discounts applied.

Anchor to originalUnitPriceSetoriginalUnitPriceSet
•
MoneyBag!non-null

The price without any discounts applied.

Anchor to originalUnitPriceWithCurrencyoriginalUnitPriceWithCurrency
•

The original custom line item input price.

•

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.

•

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.

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

•

The product variant for the line item.

•

The name of the variant.

•

The name of the vendor who created the product variant.

•

The weight unit and value.

Show
deprecated fields Deprecated
•
MoneyV2!non-nullDeprecated

The unit price with discounts applied. Use approximateDiscountedUnitPriceSet instead.

Anchor to discountedUnitPriceSetdiscountedUnitPriceSet
•
MoneyBag!non-nullDeprecated

The unit price with discounts applied. Use approximateDiscountedUnitPriceSet instead.


Was this section helpful?