Readonly
cartReference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.
Optional
Readonly
cartDiscountCode can only be applied to Carts that match this predicate.
Readonly
codeUser-defined unique identifier of the DiscountCode that is used by the customer to apply the discount.
Optional
Readonly
customCustom Fields of the DiscountCode.
Optional
Readonly
descriptionMaps to DiscountCode.description
.
Optional
Readonly
groupsGroups to which the DiscountCode belongs.
Readonly
isIndicates if the DiscountCode is active and can be applied to the Cart.
Readonly
keyUser-defined unique identifier. If a Discount Code with this key
exists, it will be updated with the imported data.
Optional
Readonly
maxNumber of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.
Optional
Readonly
maxNumber of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.
Optional
Readonly
nameMaps to DiscountCode.name
.
Optional
Readonly
validDate and time (UTC) from which the DiscountCode is effective.
Optional
Readonly
validDate and time (UTC) until which the DiscountCode is effective.
The data representation for a Discount Code to be imported that is persisted as a Discount Code in the Project.