I have a client I am building a site for. They are interested in an API Coupon code generation and is wondering how our systems will speak to each other. Is this possible to have within the Shopify store? Is so, how do I get this all set up? They have roughly 12K users that will be using this generated code.
AI-generated summary
Question about integrating external coupon-code generation with a Shopify store for a client needing roughly 12,000 user-specific discount codes. The key concern is whether Shopify can support API-based creation of these codes and how the systems would connect.
Current answer:
- Shopify can create large volumes of discount codes in batches through the Admin API.
- The response points to the REST Admin API discount code documentation as the setup reference.
Technical point:
- “API” means an application interface that lets one system programmatically create or manage data in another system.
- “Batch” creation means generating many discount codes at once instead of one by one.
Outcome:
- A possible implementation path was confirmed.
- No detailed integration steps, architecture, or limits for the 12K-user use case were discussed, so the setup details remain open.
It is possible to create large amounts of discount codes in batches. You can read more about this process in our API docs here: https://shopify.dev/api/admin/rest/reference/discounts/discountcode