Anchor to section titled 'undefined'

DraftOrderLineItemInput
input_object

The input fields for a line item included in a draft order.


The custom discount to be applied.

A generic custom attribute using a key value pair.

The custom line item price without any discounts applied in shop currency. This field is ignored when variantId is provided.

The line item quantity.

Whether physical shipping is required for a custom line item. This field is ignored when variantId is provided.

The SKU number for custom line items only. This field is ignored when variantId is provided.

Whether the custom line item is taxable. This field is ignored when variantId is provided.

Title of the line item. This field is ignored when variantId is provided.

The ID of the product variant corresponding to the line item. Must be null for custom line items, otherwise required.

The weight unit and value inputs for custom line items only. This field is ignored when variantId is provided.


Was this section helpful?

The list of product variant or custom line item. Each draft order must include at least one line item.

NOTE: Draft orders don't currently support subscriptions.


Was this section helpful?
Map
DraftOrderLineItemInput

Input objects using this input