Optional ReadonlyanonymousOptional ReadonlybillingBilling address associated with the Cart.
Optional ReadonlybusinessReadonlycartCurrent status of the Cart.
Optional ReadonlycountryUsed for Line Item price selection.
ReadonlycreatedDate and time (UTC) the Cart was initially created.
Optional ReadonlycreatedIDs and references that created the Cart.
Optional ReadonlycustomCustom Fields of the Cart.
Optional ReadonlycustomerEmail address of the Customer that the Cart belongs to.
Optional ReadonlycustomerReference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.
Optional Readonlycustomerid of the Customer that the Cart belongs to.
ReadonlycustomCustom Line Items added to the Cart.
Optional ReadonlydeleteNumber of days after the last modification before a Cart is deleted. Configured in Project settings.
ReadonlydirectDirect Discounts added to the Cart. A Cart that has discountCodes cannot have directDiscounts.
ReadonlydiscountDiscount Codes applied to the Cart. A Cart that has directDiscounts cannot have discountCodes.
Optional ReadonlydiscountDiscounts that apply on the Cart totalPrice.
Optional ReadonlydiscountIndicates if a combination of discount types can apply on a Cart.
ReadonlyidUnique identifier of the Cart.
ReadonlyinventoryIndicates how stock quantities are tracked for Line Items in the Cart.
ReadonlyitemAdditional 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 ReadonlykeyUser-defined unique identifier of the Cart.
ReadonlylastDate and time (UTC) the Cart was last updated.
Optional ReadonlylastIDs and references that last modified the Cart.
ReadonlylineLine Items added to the Cart.
Optional ReadonlylocaleLanguages of the Cart. Can only contain languages supported by the Project.
ReadonlyoriginIndicates how the Cart was created.
Optional ReadonlypaymentPayment information related to the Cart.
ReadonlypriceIndicates how the total prices on LineItems and CustomLineItems are rounded when calculated. Configured in Project settings.
ReadonlyrefusedAutomatically set when a Line Item with GiftLineItem LineItemMode is removed from the Cart.
ReadonlyshippingShipping-related information of a Cart with Multiple ShippingMode. Updated automatically each time a new Shipping Method is added.
Optional ReadonlyshippingShipping address for a Cart with Single ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.
Optional ReadonlyshippingCustom Fields of the Shipping Method in a Cart with Single ShippingMode.
Optional ReadonlyshippingShipping-related information of a Cart with Single ShippingMode. Automatically set when a Shipping Method is set.
Optional ReadonlyshippingUser-defined unique identifier of the Shipping Method in a Cart with Single ShippingMode.
ReadonlyshippingIndicates whether the Cart has one or multiple Shipping Methods.
Optional ReadonlyshippingInput 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 ReadonlystoreReference to a Store the Cart belongs to.
ReadonlytaxIndicates how taxes are calculated when calculating taxes for taxedPrice.
Optional ReadonlytaxedFor 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 proportionally discounted value.
Optional ReadonlytaxedSum of the taxedPrice field of ShippingInfo across all Shipping Methods.
If a discount applies on `totalPrice`, this field holds the proportionally discounted value.
ReadonlytaxIndicates how Tax Rates are set.
ReadonlytaxIndicates how monetary values are rounded when calculating taxes for taxedPrice. Configured in Project settings.
Optional ReadonlytotalSum of all LineItem quantities, excluding CustomLineItems. Only present when the Cart has at least one LineItem.
ReadonlytotalSum 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.
ReadonlyversionCurrent version of the Cart.
Anonymous session associated with the Cart.