ReadonlyactionOptional ReadonlyaddedDate and time (UTC) the Line Item was added to the Cart. If not set, it defaults to the current date and time.
Optional for backwards compatibility reasons.
Optional ReadonlycustomCustom Fields for the Line Item.
Optional ReadonlydistributionUsed to select a Product Price.
The Channel must have the ProductDistribution ChannelRoleEnum.
If the Cart is bound to a Store with distributionChannels set, the Channel must match one of the Store's distribution channels.
Optional ReadonlykeyUser-defined unique identifier of the LineItem.
Optional Readonlyproductid of the Product.
Either the `productId` and `variantId`, or `sku` must be provided.
Optional ReadonlyquantityNumber of Line Items to add to the Cart.
Optional ReadonlyshippingContainer for Line Item-specific addresses.
Optional Readonlyskusku of the ProductVariant.
Either the `productId` and `variantId`, or `sku` must be provided.
Optional ReadonlysupplyUsed to identify Inventory entries that must be reserved.
The Channel must have the InventorySupply ChannelRoleEnum.
Optional Readonlyvariantid of the ProductVariant in the Product.
If not given, the Master Variant is used.
Either the `productId` and `variantId`, or `sku` must be provided.
If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem
shippingDetailsis set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. The LineItem price is set as described in Line Item price selection.