Optional
Readonly
anonymousOptional
Readonly
billingBilling address associated with the Cart.
Optional
Readonly
businessReference to a Business Unit the Cart belongs to.
Readonly
cartCurrent status of the Cart.
Optional
Readonly
countryUsed for Line Item price selection.
Readonly
createdDate and time (UTC) the Cart was initially created.
Optional
Readonly
createdIDs and references that created the Cart.
Optional
Readonly
customCustom Fields of the Cart.
Readonly
customCustom Line Items added to the Cart.
Optional
Readonly
customerEmail address of the Customer that the Cart belongs to.
Optional
Readonly
customerReference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.
Optional
Readonly
customerid
of the Customer that the Cart belongs to.
Optional
Readonly
deleteNumber of days after which an active Cart is deleted since its last modification. Configured in Project settings.
Readonly
directDirect Discounts added to the Cart. A Cart that has discountCodes
cannot have directDiscounts
.
Readonly
discountDiscount Codes applied to the Cart. A Cart that has directDiscounts
cannot have discountCodes
.
Optional
Readonly
discountDiscounts that apply on the Cart totalPrice
.
Readonly
idUnique identifier of the Cart.
Readonly
inventoryIndicates how stock quantities are tracked for Line Items in the Cart.
Readonly
itemAdditional shipping addresses of the Cart as specified by LineItems using the shippingDetails
field.
For Carts with `Single` [ShippingMode](ctp:api:type:ShippingMode): eligible Shipping Methods or applicable Tax Rates are determined by the address in `shippingAddress`, and not `itemShippingAddresses`.
Optional
Readonly
keyUser-defined unique identifier of the Cart.
Readonly
lastDate and time (UTC) the Cart was last updated.
Optional
Readonly
lastIDs and references that last modified the Cart.
Readonly
lineLine Items added to the Cart.
Optional
Readonly
localeLanguages of the Cart. Can only contain languages supported by the Project.
Readonly
originIndicates how the Cart was created.
Optional
Readonly
paymentPayment information related to the Cart.
Readonly
refusedAutomatically set when a Line Item with GiftLineItem
LineItemMode is removed from the Cart.
Readonly
shippingShipping-related information of a Cart with Multiple
ShippingMode. Updated automatically each time a new Shipping Method is added.
Optional
Readonly
shippingShipping address for a Cart with Single
ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.
Optional
Readonly
shippingCustom Fields of the Shipping Method in a Cart with Single
ShippingMode.
Optional
Readonly
shippingShipping-related information of a Cart with Single
ShippingMode. Automatically set when a Shipping Method is set.
Optional
Readonly
shippingUser-defined unique identifier of the Shipping Method in a Cart with Single
ShippingMode.
Readonly
shippingIndicates whether the Cart has one or multiple Shipping Methods.
Optional
Readonly
shippingInput used to select a ShippingRatePriceTier.
The data type of this field depends on the shippingRateInputType.type
configured in the Project:
- If `CartClassification`, it is [ClassificationShippingRateInput](ctp:api:type:ClassificationShippingRateInput).
- If `CartScore`, it is [ScoreShippingRateInput](ctp:api:type:ScoreShippingRateInput).
- If `CartValue`, it cannot be used.
Optional
Readonly
storeReference to a Store the Cart belongs to.
Readonly
taxIndicates how taxes are calculated when calculating taxes for taxedPrice
.
Readonly
taxIndicates how Tax Rates are set.
Readonly
taxIndicates how monetary values are rounded when calculating taxes for taxedPrice
.
Optional
Readonly
taxedFor a Cart with Platform
TaxMode, it is automatically set when a shipping address is set. For Carts with Multiple
ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via shippingDetails
), otherwise taxedPrice
is not automatically set.
External
TaxMode, it is automatically set when shippingAddress
and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with Multiple
ShippingMode, all allocations must have their respective tax rates present in perMethodTaxRate
, otherwise taxedPrice
is not automatically set. If a discount applies on totalPrice
, this field holds the discounted values.
Optional
Readonly
taxedSum of the taxedPrice
field of ShippingInfo across all Shipping Methods.
Optional
Readonly
totalSum of all LineItem quantities, excluding CustomLineItems. Only present when the Cart has at least one LineItem.
Readonly
totalSum of the totalPrice
field of all LineItems and CustomLineItems, and if available, the price
field of ShippingInfo.
If a discount applies on totalPrice
, this field holds the discounted value.
Taxes are included if [TaxRate](ctp:api:type:TaxRate) `includedInPrice` is `true` for each price.
Readonly
versionCurrent version of the Cart.
Anonymous session associated with the Cart.