BaseCartLineItem
The cart line item details.
Properties#
id
stringThe ID of the line item.
title
stringThe title of the line item.
quantity
numberThe line item's quantity in the cart.
requires_shipping
booleanWhether the line item requires shipping.
is_discountable
booleanWhether the line item is discountable.
is_tax_inclusive
booleanWhether the line item price is tax inclusive.
unit_price
numberThe unit price of the item.
The associated cart.
cart_id
stringThe ID of the associated cart.
original_total
numberThe original total of the cart line item.
original_subtotal
numberThe original subtotal of the cart line item.
original_tax_total
numberThe original tax total of the cart line item.
item_total
numberThe item total of the cart line item.
item_subtotal
numberThe item subtotal of the cart line item.
item_tax_total
numberThe item tax total of the cart line item.
total
numberThe total of the cart line item.
subtotal
numberThe subtotal of the cart line item.
tax_total
numberThe tax total of the cart line item.
discount_total
numberThe discount total of the cart line item.
discount_tax_total
numberThe discount tax total of the cart line item.
subtitle
stringOptionalThe subtitle of the line item.
thumbnail
stringOptionalThe line item's thumbnail.
The associated product with the line item.
product_id
stringOptionalThe ID of the associated product.
product_title
stringOptionalThe title of the associated product.
product_description
stringOptionalThe description of the associated product.
product_subtitle
stringOptionalThe subtitle of the associated product.
product_type
stringOptionalThe type of the associated product.
product_collection
stringOptionalThe collection of the associated product.
product_handle
stringOptionalThe handle of the associated product.
The associated variant with the line item.
variant_id
stringOptionalThe associated variant's ID of the line item.
variant_sku
stringOptionalThe sku of the associated variant.
variant_barcode
stringOptionalThe barcode of the associated variant.
variant_title
stringOptionalThe title of the associated variant.
variant_option_values
Record<string, unknown>OptionalThe option values of the associated variant.
compare_at_unit_price
numberOptionalThe calculated price of the line item.
The associated tax lines.
The associated adjustments.
metadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
created_at
DateOptionalWhen the line item was created.
updated_at
DateOptionalWhen the line item was updated.
deleted_at
DateOptionalWhen the line item was deleted.
Was this page helpful?