Create Shopify discount codes from ChatGPT or Claude, then list and turn them off in one sentence
Create Shopify discount codes in one sentence from ChatGPT, Claude or the Hermoso app, see how often each was used, and turn a code off when the offer ends.

A "use code SUMMER20" ad needs a code that works at checkout. Now you can make that code from ChatGPT or Claude in one sentence. Hermoso creates Shopify discount codes on your store, lists every code you have with how often it was used, and turns one off when the offer ends.
Every answer is Shopify's own copy of the code, read back after the change, so what you see is what your checkout will accept.
What you can set
| Setting | What it does |
|---|---|
| Code | What customers type at checkout, such as SUMMER20. No spaces. |
| Percent or amount off | 20 is 20% off. An amount is in your store's currency, off the whole order or off each item. |
| Minimum | A minimum order amount or a minimum number of items, if you want one |
| Dates | It starts now unless you pick a start, and runs with no end date unless you give one |
| Use limits | How many times it can be used in total, and whether each customer can use it once |
A code from Hermoso works for every customer and every product. Because a code works at your live checkout, Hermoso first describes it and creates it when you say yes. Nothing you wrote is changed: a code with a space, 0% or more than 100% off, or an end date in the past is refused with the reason.
See every code, and turn one off
Ask for your codes and you get every one on the store, newest first, with what it takes off, its dates, its use limit, how many times it has been used and whether it is active, scheduled or expired. That includes codes you made in Shopify and codes another app made: amount off, buy X get Y and free shipping. Dates are in your store's time zone, and the use count can trail Shopify by a few minutes.
When an offer ends, turn its code off by name. Shopify keeps the code, so you can switch it back on later in Shopify admin under Discounts.
How to create a discount code on Shopify, two ways
In Shopify admin, a discount code lives under Discounts, where you create one, pick the kind, fill in the code and the conditions, and save. That is fine for one code. When the code is part of a campaign you are already planning in a chat, the second way is faster: say what you want, check the description, say yes. A Shopify promo code and a discount code are the same thing here, the text a customer types at checkout.
A worked example
A tea shop on Shopify is planning a Mother's Day push. With Hermoso connected to ChatGPT, the owner types:
Create a Shopify discount code MOM15: 15% off orders over $40, from May 1 to May 11, once per customer, 500 uses in total.
The first answer describes the code exactly as it would be created, and nothing exists yet. The owner says yes. The reply is the code as Shopify stored it: MOM15, 15% off, minimum $40, May 1 to May 11 in the store's time zone, 500 uses, once per customer, scheduled.
In the same chat they ask Hermoso for a set of Instagram Story ads with MOM15 in the headline, so the ads and the code come out of one conversation. On May 8 they ask how many times has MOM15 been used? and see it has been used 212 times (an illustration). While they are there, they notice an old WELCOME10 code still active from last spring and type turn off WELCOME10. Hermoso names the code, turns it off on a yes and reports the status Shopify gives afterwards: expired.
Set it up
- Install Hermoso from the Shopify App Store and open it once from your Shopify admin. The store is the account, so there is nothing to paste.
- Approve the discount permission. Discount codes need one more Shopify permission. A store that installed Hermoso before it was added is asked to approve it the next time the app is opened from Shopify admin.
- Ask in the Studio, or add Hermoso to ChatGPT or Claude from Developers in the app.
Creating, listing and turning off codes costs no credits.
Or ask ChatGPT or Claude
With Hermoso connected to ChatGPT or Claude, one sentence does it: Make a code WEEKEND10 for $10 off orders over $50 that ends Sunday at midnight. The agent uses create_shopify_discount_code, list_shopify_discount_codes and disable_shopify_discount_code, the same tools as the app.
More
Every field: the Shopify discount codes docs. The release note: the changelog. More for Shopify stores: publish to your Shopify blog with AI and AI ads for Shopify DTC brands. To do it from a chat, add Hermoso to ChatGPT or Claude.
Questions people ask
How do I create a discount code on Shopify?
In Shopify admin, go to Discounts and create one there. Or, with Hermoso installed from the Shopify App Store, describe the code in a sentence from the app, ChatGPT or Claude and confirm it.
Can ChatGPT create Shopify discount codes?
Yes, with Hermoso connected to ChatGPT. It describes the code first and creates it on your store when you say yes, then shows Shopify's own copy of it.
Is a Shopify promo code the same as a discount code?
Yes. Both mean the text a customer types at checkout to get money off.
Can I turn a disabled code back on?
Yes. Shopify keeps a code that was turned off, so you can switch it back on in Shopify admin under Discounts.
Does Hermoso see codes I made in Shopify?
Yes. The list shows every code on the store, including codes made in Shopify or by another app, with how many times each was used.