CartLineItemDTO
Properties
id
stringRequiredThe ID of the line item.
title
stringRequiredThe title of the line item.
quantity
numberRequiredThe line item quantity
requires_shipping
booleanRequiredWhether the line item requires shipping or not
is_discountable
booleanRequiredWhether the line item is discountable or not
is_tax_inclusive
booleanRequiredWhether the line item price is tax inclusive or not
unit_price
numberRequiredThe price of the item
The associated cart.
cart_id
stringRequiredThe ID of the associated cart.
original_total
numberRequiredoriginal_subtotal
numberRequiredoriginal_tax_total
numberRequireditem_total
numberRequireditem_subtotal
numberRequireditem_tax_total
numberRequiredtotal
numberRequiredsubtotal
numberRequiredtax_total
numberRequireddiscount_total
numberRequireddiscount_tax_total
numberRequiredsubtitle
stringThe subtitle of the line item.
thumbnail
stringThe url of the line item thumbnail.
product_id
stringThe product ID of the line item.
product_title
stringThe product title of the line item.
product_description
stringThe product description of the line item.
product_subtitle
stringThe product subtitle of the line item.
product_type
stringThe product type of the line item.
product_collection
stringThe product collection of the line item.
product_handle
stringThe product handle of the line item.
variant_id
stringThe variant ID of the line item.
variant_sku
stringThe variant sku of the line item.
variant_barcode
stringThe variant barcode of the line item.
variant_title
stringThe variant title of the line item.
variant_option_values
Record<string, unknown>The variant option values of the line item.
compare_at_unit_price
numberThe original price of the item before an adjustment or a sale.
The associated tax lines.
The associated adjustments.
metadata
null | Record<string, unknown>Holds custom data in key-value pairs.
created_at
DateWhen the line item was created.
updated_at
DateWhen the line item was updated.
Was this section helpful?