Readonly
cartOptional
Readonly
customCustom Fields of the CartDiscount.
Optional
Readonly
descriptionDescription of the CartDiscount.
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.
Readonly
sortValue between 0
and 1
.
A Discount with a higher sortOrder is prioritized.
The sort order must be unambiguous among all CartDiscounts.
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.