Skip to content

Feature Discount Schemes

A feature discount scheme applies promotional pricing to a feature, such as an introductory or loyalty discount. See the Feature Discount Schemes guide for how they are used.

/backend/api/v1/featureDiscountSchemes/ID - fetch the scheme with the specified ID.

/backend/api/v1/featureDiscountSchemes/ - list all schemes.

ParameterTypeRequiredDescription
idAfterintegerNoOnly include schemes with a higher ID
createdSincedatetimeNoOnly include schemes created since the given time
updatedSincedatetimeNoOnly include schemes updated since the given time

/backend/api/v1/featureDiscountSchemes/ - add a new scheme. The newly-added scheme will be returned.

/backend/api/v1/featureDiscountSchemes/ID - update the scheme with the specified ID. The modified scheme will be returned.

/backend/api/v1/featureDiscountSchemes/ID - delete the scheme with the specified ID.

FieldNameTypeDescription
featureDiscountSchemeNameScheme NameTextFull name of the discount scheme
featureDiscountSchemeShortNameDiscount Scheme (Short)TextAbbreviated name for the discount scheme
featureDiscountSchemeDescriptionDiscount Scheme DescriptionTextDetailed description of what the discount scheme provides
featureDiscountSchemeDisplayClassDiscount Scheme Display ClassTextCSS class used for displaying this discount scheme in the interface
featureDiscountSchemeDisplayPositionDiscount Scheme Display PositionNumberNumerical order for displaying this scheme in lists and menus
availabilityDiscount Scheme AvailabilityPreset ValueControls the availability of this discount scheme
currencyCurrencyPreset ValueLimits the availabilty to customers using the specified currency
customerIDCustomerTextThe ID of the customer this discount scheme is restricted to
customerGroupsCustomer GroupsTextArray of customer group names that can use this discount scheme
oneOffChargeDiscountTypeOne Off Charge Discount TypePreset ValueName of the discount type applied to one-off charges
oneOffChargeDiscountAmountOne Off Charge Discount AmountNumberAmount of discount for one-off charges
recurringChargeDiscountTypeRecurring Charge Discount TypePreset ValueName of the discount type applied to recurring charges
recurringChargeDiscountAmountRecurring Charge Discount AmountNumberAmount of discount for recurring charges
initialLengthInitial LengthTextDuration for which the discount scheme initially applies
initialLengthTypeInitial Length TypePreset ValueName of the time unit for the initial length period
idFeature Discount Scheme IDTextThe unique identifier for this feature discount scheme