The Firmhouse Logo [FH]
Developer Docs


Creates a promotion.


input (CreatePromotionInput!)
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
deactivationStrategy (AppliedPromotionDeactivationStrategy)
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
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)