Optional
Readonly
anonymousOptional
Readonly
billingOptional
Readonly
businessThe Business Unit the Order belongs to.
Optional
Readonly
cartSet when this order was created from a cart.
The cart will have the state Ordered
.
Optional
Readonly
completedThis field will only be present if it was set for Order Import
Optional
Readonly
countryA two-digit country code as per ISO 3166-1 alpha-2. Used for product variant price selection.
Readonly
createdOptional
Readonly
createdPresent on resources created after 1 February 2019 except for events not tracked.
Optional
Readonly
customReadonly
customOptional
Readonly
customerOptional
Readonly
customerSet when the customer is set and the customer is a member of a customer group. Used for product variant price selection.
Optional
Readonly
customerOptional
Readonly
discountReadonly
idUnique identifier of the Order.
Optional
Readonly
inventoryOptional
Readonly
itemContains addresses for orders with multiple shipping addresses.
Optional
Readonly
lastInternal-only field.
Readonly
lastOptional
Readonly
lastPresent on resources created after 1 February 2019 except for events not tracked.
Readonly
lineOptional
Readonly
localeOptional
Readonly
orderString that uniquely identifies an order. It can be used to create more human-readable (in contrast to ID) identifier for the order. It should be unique across a project. Once it's set it cannot be changed.
Readonly
orderOne of the four predefined OrderStates.
Readonly
originOptional
Readonly
paymentOptional
Readonly
paymentOptional
Readonly
purchaseThe Purchase Order Number is typically set by the Buyer on a QuoteRequest to track the purchase order during the quote and order flow.
Optional
Readonly
quoteSet when this order was created from a quote.
Readonly
refusedAutomatically filled when a line item with LineItemMode GiftLineItem
is removed from this order.
Optional
Readonly
returnOptional
Readonly
shipmentReadonly
shippingHolds all shipping-related information per Shipping Method for Multi
ShippingMode.
It is updated automatically after the [Shipping Method is added](ctp:api:type:CartAddShippingMethodAction).
Optional
Readonly
shippingHolds all shipping-related information per Shipping Method.
For `Multi` [ShippingMode](ctp:api:typeShippingMode), it is updated automatically after the Shipping Methods are added.
Optional
Readonly
shippingCustom Fields of the Shipping Method for Single
ShippingMode.
Optional
Readonly
shippingSet if the ShippingMethod is set.
Optional
Readonly
shippingUser-defined unique identifier of the Shipping Method with Single
ShippingMode.
Readonly
shippingIndicates whether one or multiple Shipping Methods are added to the Cart.
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
stateThis reference can point to a state in a custom workflow.
Optional
Readonly
storeReadonly
syncOptional
Readonly
taxWhen calculating taxes for taxedPrice
, the selected mode is used for calculating the price with LineItemLevel (horizontally) or UnitPriceLevel (vertically) calculation mode.
Optional
Readonly
taxOptional
Readonly
taxWhen calculating taxes for taxedPrice
, the selected mode is used for rouding.
Optional
Readonly
taxedThe taxes are calculated based on the shipping address.
Optional
Readonly
taxedSum of taxedPrice
of ShippingInfo across all Shipping Methods.
For Platform
TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.
Readonly
totalReadonly
versionThe current version of the order.
Generated using TypeDoc
Identifies carts and orders belonging to an anonymous session (the customer has not signed up/in yet).