How to create a discount campaign with several discount codes

Topic summary

Main issue: Set up a single discount campaign that uses 500 unique discount codes, rather than creating 500 separate discounts.

Current state: The author can create one discount per code via GraphQL (an API query language), but this makes reviewing and managing them in the admin frontend cumbersome.

Goal: Associate all 500 codes with one discount so it’s easier to manage and audit in the admin UI.

Request: Confirm whether this is possible and provide guidance or examples on how to achieve it using GraphQL.

Status: No solution or implementation details provided yet; the question remains open.

Summarized with AI on January 12. AI used: gpt-5.

Dear community!

I have to register a new discount campaign. I have 500 discount codes associates with this campaign. I can create a discount for each code using Graphql , but in admin front end it is complicated review this information. And this is the first campaign. So, we need to create an only one discount but with 500 different codes associated to it. Is it possible? How can I using Graphql?

Best regards