Skip to main content
Skip to main content

LineItem - Cart Module Data Models Reference

This documentation provides a reference to the LineItem . This belongs to the Cart Module.

idstringRequired
cart_idstringRequired
cartCartRequired
titlestringRequired
subtitlenull | stringRequired

Default: null

thumbnailnull | stringRequired

Default: null

quantitynumberRequired
variant_idnull | stringRequired

Default: null

product_idnull | stringRequired

Default: null

product_titlenull | stringRequired

Default: null

product_descriptionnull | stringRequired

Default: null

product_subtitlenull | stringRequired

Default: null

product_typenull | stringRequired

Default: null

product_collectionnull | stringRequired

Default: null

product_handlenull | stringRequired

Default: null

variant_skunull | stringRequired

Default: null

variant_barcodenull | stringRequired

Default: null

variant_titlenull | stringRequired

Default: null

variant_option_valuesnull | Record<string, unknown>Required

Default: null

requires_shippingbooleanRequired

Default: true

is_discountablebooleanRequired

Default: true

is_tax_inclusivebooleanRequired

Default: false

raw_compare_at_unit_pricenull | BigNumberRawValueRequired

Default: null

unit_pricenumber | BigNumberRequired
raw_unit_priceBigNumberRawValueRequired
tax_linesCollection<LineItemTaxLine, object>Required
adjustmentsCollection<LineItemAdjustment, object>Required
metadatanull | Record<string, unknown>Required

Default: null

created_atDateRequired
updated_atDateRequired
deleted_atnull | DateRequired

Default: null

[OptionalProps]OptionalLineItemProps
compare_at_unit_pricenull | number | BigNumber

Default: null

Was this section helpful?