Docs
Dashboard

DraftOrderLineItem

Object

Fields returned for draft order line item.

#

Fields


id
ID!

The unique identifier of the resource.

manualDiscount
DraftOrderManualDiscount

The manual discount associated with this draft order line item.

mediaIds
[ID!]!

The media ids associated with this draft order line item.

metadata
[MetadataItem!]!

The metadata associated with this draft order line item.

pricingSource
DraftOrderPricingSource!

The pricing source associated with this draft order line item.

Possible enum values
  • CATALOG

    Uses the current price supplied by the catalog.

  • MANUAL

    Uses a price entered specifically for the draft order.

productId
ID!

The product id associated with this draft order line item.

productName
String!

The product name associated with this draft order line item.

quantity
Int!

The quantity associated with this draft order line item.

sku
String!

The sku associated with this draft order line item.

subtotal
Money!

The subtotal associated with this draft order line item.

taxBehavior
TaxBehavior!

The tax behavior associated with this draft order line item.

Possible enum values
  • EXCLUSIVE

    Exclusive tax is added on top of the price. For example, a product has the price defined as 5.00 USD. The tax charged on this product could be 10% and would result in a final price of 5.50 USD. (Tax rates might differ—this is only an explanatory example.)

  • INCLUSIVE

    Inclusive tax is already included in the price. For example, a product has the price defined as 5.00 USD. The final price the customer pays is 5.00 USD.

total
Money!

The total associated with this draft order line item.

type
LineItemType!

The type associated with this draft order line item.

Possible enum values
  • CUSTOM

    The line item was entered independently of a catalog product variant.

  • MANAGED

    The line item references a product variant managed in the catalog.

unitPrice
UnitPrice!

The unit price associated with this draft order line item.

variantId
ID!

The variant id associated with this draft order line item.

variantName
String!

The variant name associated with this draft order line item.