Readonly
cartOptional
Readonly
cartDiscountCode can only be applied to Carts that match this predicate.
Readonly
codeUser-defined unique identifier for the DiscountCode that can be added to the Cart to apply the related CartDiscounts. It cannot be modified after the DiscountCode is created.
Optional
Readonly
customCustom Fields for the DiscountCode.
Optional
Readonly
descriptionDescription of the DiscountCode.
Optional
Readonly
groupsGroups to which the DiscountCode will belong to.
Optional
Readonly
isOnly active DiscountCodes can be applied to the Cart.
Optional
Readonly
keyUser-defined unique identifier for the DiscountCode.
Optional
Readonly
maxNumber of times the DiscountCode can be applied.
Optional
Readonly
maxNumber of times the DiscountCode can be applied per Customer.
Optional
Readonly
nameName of the DiscountCode.
Optional
Readonly
validDate and time (UTC) from which the DiscountCode is effective. Must be earlier than validUntil
.
Optional
Readonly
validDate and time (UTC) until which the DiscountCode is effective. Must be later than validFrom
.
Specify what CartDiscounts the API applies when you add the DiscountCode to the Cart.