Readonly
cartReadonly
createdDate and time (UTC) for the CartDiscount was initially created.
Optional
Readonly
createdPresent on resources created after 1 February 2019 except for events not tracked.
Optional
Readonly
customCustom Fields of the CartDiscount.
Optional
Readonly
descriptionDescription of the CartDiscount.
Readonly
idUnique identifier of the CartDiscount.
Readonly
isIndicates if the CartDiscount is active and can be applied to the Cart.
Optional
Readonly
keyUser-defined unique identifier of the CartDiscount.
Readonly
lastDate and time (UTC) for the CartDiscount was last updated.
Optional
Readonly
lastPresent on resources updated after 1 February 2019 except for events not tracked.
Readonly
nameName of the CartDiscount.
Readonly
referencesReferences of all resources that are addressed in the predicate. The API generates this array from the predicate.
Readonly
requiresIndicates if the Discount can be used in connection with a DiscountCode.
Readonly
sortValue between 0
and 1
.
All matching CartDiscounts are applied to a Cart in the order defined by this field.
A Discount with a higher sortOrder is prioritized.
The sort order is unambiguous among all CartDiscounts.
Readonly
stackingIndicates whether the application of the CartDiscount causes other discounts to be ignored.
Optional
Readonly
targetSets a CartDiscountTarget. Empty if value
has type giftLineItem
.
Optional
Readonly
validDate and time (UTC) from which the Discount is effective.
Optional
Readonly
validDate and time (UTC) until which the Discount is effective.
Readonly
valueEffect of the CartDiscount.
Readonly
versionCurrent version of the CartDiscount.
Generated using TypeDoc
Valid Cart Predicate.