updatePromotion
Updates a promotion.
Last updated
Updates a promotion.
Last updated
input (!)
Parameters for UpdatePromotion
publicName ()
Alternative name to be displayed on invoices and checkout.
autoApply ()
Whether or not this promotion will automatically be applied on checkout
deactivationStrategy ()
Which mechanism will be used to deactivate the promotion
deactivateAfterAmountIncludingTaxCents ()
The amount (in cents) after which the promotion should get deactivated on a customer
deactivateAfterTimes ()
After how many times this promotion is "used up" for a customer
activated ()
Whether or not this promotion should be active
id (!)
title ()
The title of the promotion as it will appear on invoices and in the portal.
percentDiscount ()
The percentage of discount that this promotion gives.