Creates a promotion.



Parameters for CreatePromotion

CreatePromotionInput Arguments


publicName (String)

Alternative name to be displayed on invoices and checkout.

autoApply (Boolean)

Whether or not this promotion will automatically be applied on checkout

Which mechanism will be used to deactivate the promotion

deactivateAfterAmountIncludingTaxCents (Int)

The amount (in cents) after which the promotion should get deactivated on a customer

deactivateAfterTimes (Int)

After how many times this promotion is "used up" for a customer

activated (Boolean)

Whether or not this promotion should be active

title (String!)

The title of the promotion as it will appear on invoices and in the portal.

percentDiscount (Int)

The percentage of discount that this promotion gives.

Return fields

promotion (Promotion)

Last updated