DraftOrderLineItemInput input object
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.
The input fields used to create a line item for a draft order.
Input fields
-
appliedDiscount (
DraftOrderAppliedDiscountInput
)Discount which will be applied to the line item.
-
customAttributes (
[AttributeInput!]
)Represents a generic custom attribute using a key value pair.
-
grams (
Int
)Ignored when variant ID is provided. This argument is deprecated: Use
weight
instead. -
originalUnitPrice (
Money
)Ignored when variant ID is provided.
-
quantity (
Int!
) RequiredThe number of products that were purchased.
-
requiresShipping (
Boolean
)Ignored when variant ID is provided.
-
sku (
String
)Ignored when variant ID is provided.
-
taxable (
Boolean
)Ignored when variant ID is provided.
-
title (
String
)Ignored when variant ID is provided.
-
variantId (
ID
)The ID of the product variant corresponding to the line item. Null if custom line item. Required if product variant line item.
-
weight (
WeightInput
)Specifies the weight unit and value inputs. Ignored when variant ID is provided.