ReadonlyactionOptional ReadonlycustomCustom Fields for the Custom Line Item.
Optional ReadonlyexternalAn external Tax Rate can be set if the Cart has the External TaxMode.
Optional ReadonlykeyUser-defined unique identifier of the Custom Line Item.
ReadonlymoneyMoney value of the Custom Line Item. The value can be negative.
ReadonlynameName of the Custom Line Item.
Optional ReadonlypriceStandard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget, MultiBuyCustomLineItemsTarget, or CartDiscountPatternTarget are applied to the Custom Line Item.
External, Cart Discounts are not considered on the Custom Line Item.Optional ReadonlyquantityNumber of Custom Line Items to add to the Cart.
Optional ReadonlyrecurrenceRecurring Order and frequency data.
Optional ReadonlyshippingContainer for Custom Line Item-specific addresses.
ReadonlyslugUser-defined identifier used in a deep-link URL for the Custom Line Item. It must match the pattern [a-zA-Z0-9_-]{2,256}.
Optional Readonlytax
If the Cart already contains a CustomLineItem with the same
slug,name,money,taxCategory,state, and Custom Fields, then only the quantity of the existing Custom Line Item is increased. If CustomLineItemshippingDetailsare set, they are merged with thetargetsthat already exist on the ItemShippingDetails of the Custom Line Item. In case of overlapping address keys the ItemShippingTargetquantityis summed up.