- Shopify only: Rolling expiry coupon codes are only available to Shopify clients.
- Automation campaigns: You can only send new rolling expiry codes in automation campaigns. In broadcast campaigns, you can use them for reminders.
Rolling expiry coupon codes are unique codes that each expire a set number of days after the day you send them to a contact. Every contact gets the same redemption window, whenever they enter your campaign.
In a unique auto generated Shopify pool, all codes share the start and end dates of one price rule. Codes sent late in the rule's life have less time to be used, and you need to keep refreshing the rule's dates. With rolling expiry, each code gets its own window from the day it's sent.
See also:
- Coupon codes
- Unique auto generated coupon codes
- Contacts who re-enter campaigns with coupon pools
- Archive a coupon pool
How it works
You give Ometria the ID of one Shopify price rule that has already been created. This is your original rule.
- The start and end dates of your original rule set how many days each code is valid, rounded up to whole days. The rule must have an end date.
- Ometria never creates codes under your original rule. It only uses the rule as a template.
- On each day you send codes, Ometria creates a copy of your original rule in Shopify and creates that day's codes under the copy.
- Each copy starts at 00:00 on the day the codes are sent and ends at 23:59:59 on the last valid day, in your Ometria account's time zone.
In your Shopify admin you'll see these copies as extra price rules. Each has the title of your original rule followed by the send day and the last valid day, for example Welcome offer (Ometria: sent 2026-03-10, valid 7 days until 2026-03-17).
When a code expires
A code is valid until 23:59:59 on the last day of its window, so with a window of N days it works for at least N days and at most N + 1 days, depending on the time you send it.
Example: Your original rule runs for 7 days. A contact is sent a code on 10 March at 14:20. The code works until 23:59:59 on 17 March. A contact sent a code on 11 March gets a code that works until 23:59:59 on 18 March.
A contact who already has an unexpired code from the pool receives the same code again. Once that code has expired, the next send creates a new one.
Create a rolling expiry pool
Go to: Campaigns > Coupon pools and select Create a new coupon pool > Unique code with rolling expiry
Complete the fields under Settings:
| Field | Description |
| Coupon pool name | Give your coupon pool a name you'll be able to easily identify later, e.g. Welcome campaign 2026 |
| Shopify store | For Shopify clients with multiple Shopify stores. Select the store this coupon pool applies to. |
| Shopify price rule ID |
Get this from your Shopify account. This is your original rule. Its start and end dates set how long each code is valid. The price rule must have an end date, otherwise Ometria can't save the pool. See also: Coupon pools importer sales rule ID |
| Prefix (optional) | Give all of your coupon codes in this pool a matching prefix. |
| Length | Define the character length of your coupon codes. |
| Add a dash every | Separate your coupon codes to make them more readable, e.g. a dash every four characters looks like Q340-98SF-JKWS. |
Pool quantities do not apply. Ometria creates each code when it's sent, so the pool doesn't run out.
When you save the pool, Ometria checks the price rule in Shopify. If the rule can't be found, the pool isn't saved.
If you later change the Shopify price rule ID or the Shopify store, codes sent from then on use the new rule.
Use rolling expiry coupons in campaigns
- Automation campaigns: Select the pool on your Send email, SMS or push node, the same way as for any other pool. Each contact's code is created when the message is sent. See: Add coupons to automation campaigns
- Broadcast campaigns: You can only re-send codes that contacts already have, for example a reminder to contacts who received a code from a welcome automation. See: Add coupon codes to broadcast campaigns
Things to know
- Tags on your original rule aren't added to the copies.
- The Combines with settings aren't copied. Codes from a copy can't be combined with other discounts, whatever your original rule allows.
- Everything else is copied from your original rule: the discount value and type, what it applies to, who can use it, minimum requirements and usage limits. Only the title and the dates differ.
- If Ometria can't create a day's copy in Shopify, codes sent that day use the previous copy until it ends, so they may be valid for a day less than usual.
Comments
0 comments
Article is closed for comments.