Entity type: Currency
You can filter discounts based on their deactivation reason.The array is interpreted as an 'or' value list To get discounts with a specific deactivation reason, only provide the deactivation reason you want. For example:
None
(0) will return discounts that are active.Unverified
(1) will return discounts that are inactive because they are unverified.Unverified
(1) and DisabledByUser
(2) will return discounts that are inactive because they are either unverified OR disabled by user.Unverified
(1) and DisabledByUser
(2) as a combined flag (3) will return discounts that are inactive because they are unverified AND disabled by user.Entity type: DiscountCampaign
Entity type: DiscountTemplate
Filter on active state. Optional values are; null = active and inactive, true = active only, false = inactive.
The discount layer Entity type: DiscountLayer
Entity type: OrganizationUnit
Entity type: OrganizationUnitSet
Entity type: OrganizationUnit
The name of the user who created the discount