Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

CartLineItemDTO

The cart line item details.

Properties

original_totalBigNumberValueRequired
The original total of the cart line item.
original_subtotalBigNumberValueRequired
The original subtotal of the cart line item.
original_tax_totalBigNumberValueRequired
The original tax total of the cart line item.
item_totalBigNumberValueRequired
The item total of the cart line item.
item_subtotalBigNumberValueRequired
The item subtotal of the cart line item.
item_tax_totalBigNumberValueRequired
The item tax total of the cart line item.
totalBigNumberValueRequired
The total of the cart line item.
subtotalBigNumberValueRequired
The subtotal of the cart line item.
tax_totalBigNumberValueRequired
The tax total of the cart line item.
discount_totalBigNumberValueRequired
The discount total of the cart line item.
discount_tax_totalBigNumberValueRequired
The discount tax total of the cart line item.
raw_original_totalBigNumberRawValueRequired
The raw original total of the cart line item.
raw_original_subtotalBigNumberRawValueRequired
The raw original subtotal of the cart line item.
raw_original_tax_totalBigNumberRawValueRequired
The raw original tax total of the cart line item.
raw_item_totalBigNumberRawValueRequired
The raw item total of the cart line item.
raw_item_subtotalBigNumberRawValueRequired
The raw item subtotal of the cart line item.
raw_item_tax_totalBigNumberRawValueRequired
The raw item tax total of the cart line item.
raw_totalBigNumberRawValueRequired
The raw total of the cart line item.
raw_subtotalBigNumberRawValueRequired
The raw subtotal of the cart line item.
raw_tax_totalBigNumberRawValueRequired
The raw tax total of the cart line item.
raw_discount_totalBigNumberRawValueRequired
The raw discount total of the cart line item.
raw_discount_tax_totalBigNumberRawValueRequired
The raw discount tax total of the cart line item.
idstringRequired
The ID of the line item.
titlestringRequired
The title of the line item.
quantityBigNumberValueRequired
The line item's quantity in the cart.
requires_shippingbooleanRequired
Whether the line item requires shipping.
is_discountablebooleanRequired
Whether the line item is discountable.
is_tax_inclusivebooleanRequired
Whether the line item price is tax inclusive.
unit_priceBigNumberValueRequired
The unit price of the item.
cartCartDTORequired
The associated cart.
cart_idstringRequired
The ID of the associated cart.
subtitlestring
The subtitle of the line item.
thumbnailstring
The line item's thumbnail.
product_idstring
The ID of the associated product.
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 of the line item.
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.
compare_at_unit_priceBigNumberValue
The calculated price of the line item.
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.
deleted_atDate
When the line item was deleted.
Was this section helpful?