Optional
Readonly
addedDate and time (UTC) the Line Item was added to the Cart.
Optional
Readonly
customCustom Fields of the Line Item.
Readonly
discountedDiscounted price of a single quantity of the Line Item.
Optional
Readonly
distributionUsed to select a Product Price. The referenced Channel has the ProductDistribution
ChannelRoleEnum.
Readonly
idUnique identifier of the LineItem.
Optional
Readonly
inventoryInventory mode specific to this Line Item only, and valid for the entire quantity
of the Line Item.
Only present if the inventory mode is different from the inventoryMode
specified on the Cart.
Optional
Readonly
keyUser-defined unique identifier of the LineItem.
Optional
Readonly
lastDate and time (UTC) the Line Item was last updated.
Readonly
lineIndicates how the Line Item is added to the Cart.
Readonly
nameName of the Product.
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
pricePrice of a Line Item selected from the Product Variant according to the Product priceMode
. If the priceMode
is Embedded
ProductPriceMode and the variant
field hasn't been updated, the price may not correspond to a price in variant.prices
.
Readonly
priceIndicates how the Price for the Line Item is set.
Readonly
productid
of the Product the Line Item is based on.
Optional
Readonly
productkey
of the Product.
This field is only present on:
- Line Items in a [Cart](ctp:api:type:Cart) when the `key` is available on that specific Product at the time the LineItem was created or updated on the Cart.
- Line Items in an [Order](ctp:api:type:Order) when the `key` is available on the specific Product at the time the Order was created from the Cart.
Present on resources created or updated after 3 December 2021.
Optional
Readonly
productslug
of the current version of the Product. Updated automatically if the slug
changes. Empty if the Product has been deleted.
The productSlug
field of LineItem is not expanded when using Reference Expansion.
Readonly
productProduct Type of the Product.
Readonly
quantityOptional
Readonly
shippingContainer for Line Item-specific addresses.
Readonly
stateOptional
Readonly
supplyIdentifies Inventory entries that are reserved. The referenced Channel has the InventorySupply
ChannelRoleEnum.
Optional
Readonly
taxPlatform
TaxMode, the taxRate
of 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 Line Items can be set using ExternalTaxRateDraft.Optional
Readonly
taxedAutomatically set after taxRate
is set.
Readonly
taxedTotal taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
Automatically set after perMethodTaxRate
is set.
Readonly
totalTotal price of this Line Item equalling price
multiplied by quantity
. If the Line Item is discounted, the total price is the discountedPricePerQuantity
multiplied by quantity
.
Includes taxes if the TaxRate includedInPrice
is true
.
Readonly
variantHolds the data of the Product Variant added to the Cart.
The data is saved at the time the Product Variant is added to the Cart and is not updated automatically when Product Variant data changes.
Must be updated using the [Recalculate](ctp:api:type:CartRecalculateAction) update action.
The representation of a Line Item in a Cart or in an Order.