Readonly
cartOptional
Readonly
customCustom Fields of the CartDiscount.
Optional
Readonly
descriptionDescription of the CartDiscount.
Optional
Readonly
discountReference to a DiscountGroup that the CartDiscount must belong to.
Optional
Readonly
isOnly active Discounts can be applied to the Cart. If the limit for active Cart Discounts is reached, a MaxCartDiscountsReached error is returned.
Optional
Readonly
keyUser-defined unique identifier for the CartDiscount.
Readonly
nameName of the CartDiscount.
Optional
Readonly
requiresStates whether the Discount can only be used in a connection with a DiscountCode.
Optional
Readonly
sortValue between 0
and 1
that determines the order in which the CartDiscounts will be applied; a CartDiscount with a higher value will be prioritized.
It must be unique among all CartDiscounts and DiscountGroups.
If the CartDiscount is part of a DiscountGroup, it will use the sort order of the DiscountGroup.
Optional
Readonly
stackingSpecifies whether the application of this discount causes the following discounts to be ignored.
Optional
Readonly
storesIf defined, the Cart Discount applies on Carts having a Store matching any Store defined for this field.
If the referenced Stores exceed the limit, a MaxStoreReferencesReached error is returned.
If the referenced Stores exceed the limit for Cart Discounts that do not require a Discount Code, a StoreCartDiscountsLimitReached error is returned.
Optional
Readonly
targetSegment of the Cart that will be discounted.
Must not be set if the `value` is `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 on the target
.
Valid Cart Predicate.