LineItem - Cart Module Data Models Reference

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

idstring
cart_idstring
cartCart
titlestring
subtitlenull | string

Default: null

thumbnailnull | string

Default: null

quantitynumber
variant_idnull | string

Default: null

product_idnull | string

Default: null

product_titlenull | string

Default: null

product_descriptionnull | string

Default: null

product_subtitlenull | string

Default: null

product_typenull | string

Default: null

product_collectionnull | string

Default: null

product_handlenull | string

Default: null

variant_skunull | string

Default: null

variant_barcodenull | string

Default: null

variant_titlenull | string

Default: null

variant_option_valuesnull | Record<string, unknown>

Default: null

requires_shippingboolean

Default: true

is_discountableboolean

Default: true

is_tax_inclusiveboolean

Default: false

raw_compare_at_unit_pricenull | BigNumberRawValue

Default: null

unit_pricenumber | BigNumber
raw_unit_priceBigNumberRawValue
tax_linesCollection<LineItemTaxLine, object>
adjustmentsCollection<LineItemAdjustment, object>
metadatanull | Record<string, unknown>

Default: null

created_atDate
updated_atDate
deleted_atnull | Date

Default: null

[OptionalProps]OptionalLineItemPropsOptional
compare_at_unit_pricenull | number | BigNumberOptional

Default: null

Was this page helpful?