Skip to main content

CartItemEntity

Represents a single item in the shopping cart.

Properties​

PropertyTypeDescription
idstring | numberItem ID
key?stringAjax cart line key, unique per line even when a variant repeats
product_idnumberShopify product ID
quantitynumberItem quantity
variant_idnumberShopify variant ID