Optional
Readonly
applicationReadonly
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 added to the Cart to apply the related CartDiscounts.
Readonly
createdDate and time (UTC) the DiscountCode was initially created.
Optional
Readonly
createdIDs and references that created the DiscountCode.
Optional
Readonly
customCustom Fields of the DiscountCode.
Optional
Readonly
descriptionDescription of the DiscountCode.
Readonly
groupsGroups to which the DiscountCode belongs to.
Readonly
idUnique identifier of the DiscountCode.
Readonly
isIndicates if the DiscountCode is active and can be applied to the Cart.
Optional
Readonly
keyUser-defined unique identifier of the DiscountCode.
Readonly
lastDate and time (UTC) the DiscountCode was last updated.
Optional
Readonly
lastIDs and references that last modified the DiscountCode.
Optional
Readonly
maxNumber of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. 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 edit. However, Order cancellation or deletion does not decrement the count.
Optional
Readonly
nameName of the DiscountCode.
Readonly
referencesArray generated from the Cart predicate. It contains the references of all the resources that are addressed in the predicate.
Optional
Readonly
validDate and time (UTC) from which the DiscountCode is effective.
Optional
Readonly
validDate and time (UTC) until which the DiscountCode is effective.
Readonly
versionCurrent version of the DiscountCode.
Used and managed by the API and must not be used in customer logic. The value can change at any time due to internal and external factors.