Optional
Readonly
customCustom Fields of the Custom Line Item.
Readonly
discountedDiscounted price of a single quantity of the Custom Line Item.
Readonly
idUnique identifier of the Custom Line Item.
Optional
Readonly
keyUser-defined unique identifier of the Custom Line Item.
Readonly
moneyMoney value of the Custom Line Item.
Readonly
nameName of the Custom Line Item.
Readonly
perTax Rate per Shipping Method for a Cart with Multiple
ShippingMode. For a Cart with Platform
TaxMode it is automatically set after the Shipping Method is added.
For a Cart with External
TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.
Readonly
priceIndicates whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
Readonly
quantityOptional
Readonly
shippingContainer for Custom Line Item-specific addresses.
Readonly
slugUser-defined identifier used in a deep-link URL for the Custom Line Item.
It matches the pattern [a-zA-Z0-9_-]{2,256}
.
Readonly
stateOptional
Readonly
taxUsed to select a Tax Rate when a Cart has the Platform
TaxMode.
Optional
Readonly
taxPlatform
TaxMode, the taxRate
of Custom Line Items is set automatically once a shipping address is set. The rate is based on the TaxCategory that applies for the shipping address.External
TaxMode, the taxRate
of Custom Line Items can be set using ExternalTaxRateDraft.Optional
Readonly
taxedAutomatically set after the taxRate
is set.
Readonly
taxedTotal taxed prices based on the quantity of the Custom Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
Automatically set after perMethodTaxRate
is set.
Readonly
totalTotal price of the Custom Line Item (money
multiplied by quantity
).
If the Custom Line Item is discounted, the total price is discountedPricePerQuantity
multiplied by quantity
.
Includes taxes if the [TaxRate](ctp:api:type:TaxRate) `includedInPrice` is `true`.
A generic item that can be added to the Cart but is not bound to a Product that can be used for discounts (negative money), vouchers, complex cart rules, additional services, or fees. You control the lifecycle of this item.