Optional ReadonlyapplicationReadonlycartReference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.
Optional ReadonlycartDiscountCode can only be applied to Carts that match this predicate.
ReadonlycodeUser-defined unique identifier of the DiscountCode added to the Cart to apply the related CartDiscounts.
ReadonlycreatedDate and time (UTC) the DiscountCode was initially created.
Optional ReadonlycreatedIDs and references that created the DiscountCode.
Optional ReadonlycustomCustom Fields of the DiscountCode.
Optional ReadonlydescriptionDescription of the DiscountCode.
ReadonlygroupsGroups to which the DiscountCode belongs to.
ReadonlyidUnique identifier of the DiscountCode.
ReadonlyisIndicates if the DiscountCode is active and can be applied to the Cart.
Optional ReadonlykeyUser-defined unique identifier of the DiscountCode.
ReadonlylastDate and time (UTC) the DiscountCode was last updated.
Optional ReadonlylastIDs and references that last modified the DiscountCode.
Optional ReadonlymaxNumber 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 ReadonlymaxNumber 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 ReadonlynameName of the DiscountCode.
ReadonlyreferencesArray generated from the Cart predicate. It contains the references of all the resources that are addressed in the predicate.
Optional ReadonlyvalidDate and time (UTC) from which the DiscountCode is effective.
Optional ReadonlyvalidDate and time (UTC) until which the DiscountCode is effective.
ReadonlyversionCurrent 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.