Optional ReadonlyaddedDate and time (UTC) the Product Variant is 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 referenced Channel must have the ProductDistribution ChannelRoleEnum.
If the Cart is bound to a [Store](ctp:api:type:Store) with `distributionChannels` set,
the Channel must match one of the Store's distribution channels.
Optional ReadonlyexternalSets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.
Optional ReadonlyexternalSets the external Tax Rate for the Line Item, if the Cart has the External TaxMode and Single ShippingMode. If the Cart has Multiple ShippingMode, the Tax Rate is accepted but ignored.
Optional ReadonlyexternalSets the LineItem price and totalPrice values, and the priceMode to ExternalTotal LineItemPriceMode.
Optional ReadonlyinventoryInventory mode specific to the Line Item only, and valid for the entire quantity of the Line Item.
Set only if the inventory mode should be different from the inventoryMode specified on the Cart.
Optional ReadonlykeyUser-defined unique identifier of the LineItem.
Optional ReadonlyperSets the external Tax Rates for individual Shipping Methods, if the Cart has the External TaxMode and Multiple ShippingMode.
Optional Readonlyproductid of a published Product.
Optional ReadonlyquantityQuantity of the Product Variant to add to the Cart.
Optional ReadonlyrecurrenceRecurring Order and frequency data.
Optional ReadonlyshippingContainer for Line Item-specific addresses.
Optional Readonlyskusku of the ProductVariant.
Optional ReadonlysupplyUsed to identify Inventory entries that must be reserved.
The referenced Channel must have the InventorySupply ChannelRoleEnum.
Optional Readonlyvariantid of the ProductVariant in the Product.
If not provided, the Master Variant is used.
For Product Variant identification, either the
productIdandvariantId, orskumust be provided. Product Attributes are merged with Variant Attributes to ensure the full Attribute context of the Product Variant.