CalculatedDraftOrderLineItem
Requires access scope.
The calculated line item for a draft order.
Anchor to FieldsFields
- Anchor to appliedDiscountapplied•
Discount The custom applied discount.
- Anchor to approximateDiscountedUnitPriceSetapproximate•
Discounted Unit Price Set MoneyBag! non-null The
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.- Anchor to bundleComponentsbundle•
Components [CalculatedDraft non-nullOrder Line Item!]! The bundle components of the draft order line item.
- Anchor to customcustom•Boolean!non-null
Whether the line item is custom (
true
) or contains a product variant (false
).- Anchor to customAttributescustom•
Attributes [Attribute!]!non-null A list of attributes that represent custom features or special requests.
- Anchor to customAttributesV2custom•
Attributes V2 [TypedAttribute!]! non-null The list of additional information (metafields) with the associated types.
- Anchor to discountedTotaldiscounted•
Total MoneyV2! non-null The total price with discounts applied.
- Anchor to discountedTotalSetdiscounted•
Total Set MoneyBag! non-null The total price with discounts applied.
- Anchor to fulfillmentServicefulfillment•
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.
- Anchor to imageimage•
The image associated with the draft order line item.
- Anchor to isGiftCardis•
Gift Card Boolean!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•
Total MoneyV2! non-null The total price, excluding discounts, equal to the original unit price multiplied by quantity.
- Anchor to originalTotalSetoriginal•
Total Set MoneyBag! non-null The total price excluding discounts, equal to the original unit price multiplied by quantity.
- Anchor to originalUnitPriceoriginal•
Unit Price MoneyV2! non-null The line item price without any discounts applied.
- Anchor to originalUnitPriceSetoriginal•
Unit Price Set MoneyBag! non-null The price without any discounts applied.
- Anchor to originalUnitPriceWithCurrencyoriginal•
Unit Price With Currency The original custom line item input price.
- Anchor to priceOverrideprice•
Override The price override for the line item.
- Anchor to productproduct•
The product for the line item.
- 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•
Shipping Boolean!non-null Whether physical shipping is required for the variant.
- •
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•
Discount MoneyV2! non-null The total value of the discount.
- Anchor to totalDiscountSettotal•
Discount Set MoneyBag! non-null The total discount amount.
- 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•
The product variant for the line item.
- Anchor to variantTitlevariant•
Title The name of the variant.
- Anchor to vendorvendor•
The name of the vendor who created the product variant.
- Anchor to weightweight•
The weight unit and value.