Calculated Draft Order Line Item
Requires access scope.
The calculated line item for a draft order.
Anchor to FieldsFields
- Anchor to appliedDiscountapplied•Draft
Discount Order Applied Discount The custom applied discount.
- Anchor to approximateDiscountedUnitPriceSetapproximate•Money
Discounted Unit Price Set Bag!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 componentscomponents•[Calculated
Draft Order Line Item!]!non-null The 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•[Attribute!]!non-null
Attributes A list of attributes that represent custom features or special requests.
- Anchor to customAttributesV2custom•[Typed
Attributes V2 Attribute!]!non-null The list of additional information (metafields) with the associated types.
- Anchor to discountedTotaldiscounted•Money
Total V2!non-null The total price with discounts applied.
- Anchor to discountedTotalSetdiscounted•Money
Total Set Bag!non-null The total price with discounts applied.
- 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.
- Anchor to imageimage•Image
The image associated with the draft order line item.
- Anchor to isGiftCardis•Boolean!non-null
Gift Card Whether the line item represents the purchase of a gift card.
- Anchor to merchandiseSourcemerchandise•Draft
Source Order Line Item Merchandise Source Type!non-null The source of the line item's merchandise information.
- 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.
- Anchor to originalTotalSetoriginal•Money
Total Set Bag!non-null The total price excluding discounts, equal to the original unit price multiplied by quantity.
- Anchor to originalUnitPriceoriginal•Money
Unit Price V2!non-null The line item price without any discounts applied.
- Anchor to originalUnitPriceSetoriginal•Money
Unit Price Set Bag!non-null The price without any discounts applied.
- Anchor to originalUnitPriceWithCurrencyoriginal•Money
Unit Price With Currency V2 The original custom line item input price.
- Anchor to priceOverrideprice•Money
Override V2 The price override for the line item.
- Anchor to productproduct•Product
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•Boolean!non-null
Shipping 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.
- Anchor to totalDiscountSettotal•Money
Discount Set Bag!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•Product
Variant The product variant for the line item.
- Anchor to variantIdvariant•ID
Id The ID of the variant associated with the line item. Will still be returned even if the variant has been deleted since the draft was created or last updated.
- 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.
Deprecated fields
- Anchor to bundleComponentsbundle•[Calculated
Components Draft Order Line Item!]!non-nullDeprecated - Anchor to discountedUnitPricediscounted•Money
Unit Price V2!non-nullDeprecated - Anchor to discountedUnitPriceSetdiscounted•Money
Unit Price Set Bag!non-nullDeprecated