Skip to main content
Skip to main content

CreateLineItemDTO

The line item to be created.

titlestringRequired
The title of the line item.
quantityBigNumberInputRequired
The quantity of the line item in the cart.
unit_priceBigNumberInputRequired
The unit price of the line item.
subtitlestring
The subtitle of the line item.
thumbnailstring
The thumbnail of the line item.
cart_idstring
The associated cart's ID.
product_idstring
The associated product's ID.
product_titlestring
The title of the associated product.
product_descriptionstring
The description of the associated product.
product_subtitlestring
The subtitle of the associated product.
product_typestring
The type of the associated product.
product_collectionstring
The collection of the associated product.
product_handlestring
The handle of the associated product.
variant_idstring
The associated variant's ID.
variant_skustring
The SKU of the associated variant.
variant_barcodestring
The barcode of the associated variant.
variant_titlestring
The title of the associated variant.
variant_option_valuesRecord<string, unknown>
The option values of the associated variant.
requires_shippingboolean
Whether the line item requires shipping.
is_discountableboolean
Whether the line item is discountable.
is_tax_inclusiveboolean
Whether the line item's amount is tax inclusive.
compare_at_unit_priceBigNumberInput
The calculated price of the line item after applying promotions.
tax_linesCreateTaxLineDTO[]
The tax lines of the line item.
adjustmentsCreateAdjustmentDTO[]
The adjustments of the line item.
Was this section helpful?