Price Rules API now supports bulk discount code creation This post is outdated
We’re very excited to announce that as of September 28th, 2017, Shopify API supports bulk discount code creation. With the introduction of bulk discounts, we will allow a single price rule to be associated with multiple discount codes. Therefore, an app that wishes to create multiple discount codes for a single price rule can perform additional independent API calls for each discount code they wish to create.
Furthermore, we now support the ability to create multiple discount codes in a single request via a new batch bulk discount endpoint. To learn more about creating bulk discount codes, please see the API reference here.
Please note, bulk discount code creation is only possible via the API. There is no way to create bulk discount codes via the Shopify admin.
If you have any questions or need further clarification, don't hesitate to comment in the thread below.