Eventjet GraphQL API documentation

numberOfCodes

How many single-use codes to generate. Each code is good for one free ticket.

Must be at least 1 (InvalidNumberOfDiscountCodes) and at most DiscountCodeGenerationLimits.maximumCodesPerBatch (TooManyDiscountCodes). Read the limit from Query.discountCodeGenerationLimits to validate the number before you submit.

Type

This field resolves to Int!.