Skip to main content
Skip to main content

CartLineItemDTO

Properties

idstringRequired
The ID of the line item.
titlestringRequired
The title of the line item.
quantitynumberRequired
The line item quantity
requires_shippingbooleanRequired
Whether the line item requires shipping or not
is_discountablebooleanRequired
Whether the line item is discountable or not
is_tax_inclusivebooleanRequired
Whether the line item price is tax inclusive or not
unit_pricenumberRequired
The price of the item
cartCartDTORequired
The associated cart.
cart_idstringRequired
The ID of the associated cart.
original_totalnumberRequired
original_subtotalnumberRequired
original_tax_totalnumberRequired
item_totalnumberRequired
item_subtotalnumberRequired
item_tax_totalnumberRequired
totalnumberRequired
subtotalnumberRequired
tax_totalnumberRequired
discount_totalnumberRequired
discount_tax_totalnumberRequired
subtitlestring
The subtitle of the line item.
thumbnailstring
The url of the line item thumbnail.
product_idstring
The product ID of the line item.
product_titlestring
The product title of the line item.
product_descriptionstring
The product description of the line item.
product_subtitlestring
The product subtitle of the line item.
product_typestring
The product type of the line item.
product_collectionstring
The product collection of the line item.
product_handlestring
The product handle of the line item.
variant_idstring
The variant ID of the line item.
variant_skustring
The variant sku of the line item.
variant_barcodestring
The variant barcode of the line item.
variant_titlestring
The variant title of the line item.
variant_option_valuesRecord<string, unknown>
The variant option values of the line item.
compare_at_unit_pricenumber
The original price of the item before an adjustment or a sale.
The associated tax lines.
The associated adjustments.
metadatanull | Record<string, unknown>
Holds custom data in key-value pairs.
created_atDate
When the line item was created.
updated_atDate
When the line item was updated.
Was this section helpful?