CreateLineItemDTO
The line item to be created.
title
stringRequiredThe title of the line item.
The quantity of the line item in the cart.
The unit price of the line item.
subtitle
stringThe subtitle of the line item.
thumbnail
stringThe thumbnail of the line item.
cart_id
stringThe associated cart's ID.
product_id
stringThe associated product's ID.
product_title
stringThe title of the associated product.
product_description
stringThe description of the associated product.
product_subtitle
stringThe subtitle of the associated product.
product_type
stringThe type of the associated product.
product_collection
stringThe collection of the associated product.
product_handle
stringThe handle of the associated product.
variant_id
stringThe associated variant's ID.
variant_sku
stringThe SKU of the associated variant.
variant_barcode
stringThe barcode of the associated variant.
variant_title
stringThe title of the associated variant.
variant_option_values
Record<string, unknown>The option values of the associated variant.
requires_shipping
booleanWhether the line item requires shipping.
is_discountable
booleanWhether the line item is discountable.
is_tax_inclusive
booleanWhether the line item's amount is tax inclusive.
compare_at_unit_price
BigNumberInputThe calculated price of the line item after applying promotions.
tax_lines
CreateTaxLineDTO[]The tax lines of the line item.
tax_lines
CreateTaxLineDTO[]adjustments
CreateAdjustmentDTO[]The adjustments of the line item.
adjustments
CreateAdjustmentDTO[]Was this section helpful?