The Firmhouse Logo [FH]
Developer Docs

CreateDiscountCodeInput

Autogenerated input type of CreateDiscountCode

Fields

promotionId (ID!)
The promotion to attach to this discount code
code (String!)
The code that can be applied when creating a subscription
maxTimesUsed (Int!)
The max times this discount code can be used
autoSelectPlanId (ID)
The discount code can only be applied to this plan
clientMutationId (String)
A unique identifier for the client performing the mutation.