The Firmhouse Logo [FH]
Developer Docs

OrderDiscountPromotion

Promotion applied to a subscription in an order based project

Fields

activated (Boolean!)
Whether or not this promotion is currently active
autoApply (Boolean!)
Whether or not this promotion will automatically be applied on checkout
deactivateAfterAmountIncludingTaxCents (Int!)
The amount after which the promotion should get deactivated on a customer
deactivateAfterTimes (Int)
After how many times this promotion is "used up" for a customer
deactivationStrategy (AppliedPromotionDeactivationStrategy!)
Which mechanic will be used to deactivate the promotion
percentDiscount (Int)
The percentage of discount that this promotion gives
title (String!)
The title of the promotion as it will appear on invoices and in the portal.