Shopify custom apps made after December 1 get keys that expire every hour. Ask how yours renews them
Commissioning a custom Shopify app this winter, or making one yourself to feed a spreadsheet? From December 1 its access key lasts an hour and has to be renewed. That part is easy. The part that bites is the integration that sits idle for three months.

From December 1, 2026, Shopify requires every new custom app and merchant-created app to use expiring offline access tokens for the Admin API. Shopify's docs say the access token lasts one hour and the refresh token 90 days, and each refresh returns a new pair to store. Existing apps made before December 1 aren't affected. If you're having an app built, ask how it renews tokens, what happens after a quiet season longer than 90 days, and how two processes avoid renewing at the same time.
What changes on December 1, and what doesn't
On November 19, Shopify confirmed a change that's been coming since spring. From December 1, 2026, every new custom app, whether a partner built it for one store or a merchant created it in their own admin, has to use what Shopify calls expiring offline access tokens to talk to the Admin API. Public apps in the App Store have had to do this since April 1.
In plain terms: an app's key to your store used to last until someone uninstalled the app or rotated its secret. For new custom apps, the key expires, and the app gets a second key, a refresh token, that it uses to get a new one. Shopify's documentation says the access token lasts one hour and the refresh token lasts 90 days when it's issued. Every refresh hands back a new pair, and the app has to keep both.
What doesn't change matters just as much. Custom apps and merchant-created apps made before December 1 can keep their existing tokens. Apps that use Shopify's client credentials grant already get tokens that expire after 24 hours, so they already meet the rule. Shopify's reasoning is straightforward: a leaked key that expires on its own does less damage than one that works forever.
So this lands on one group of people: anyone who will have a custom app built, or build one themselves, from December onwards.
One integration's year
The hourly part is not the hard part. Shopify's app templates and libraries renew tokens automatically, and any competent developer will handle it. The trouble shows up in the integrations that don't run all the time.
Here's an illustrative one, sketched in the timeline under this section. A gift company has a custom app built in early December to send its seasonal orders to a wholesale partner every hour. It works well. In January, gift season ends and someone switches the sync off until next year.
Ninety days later, the last refresh token expires. Nothing alerts anyone, because nothing is running to notice. The following November, someone switches the sync back on, and the first call fails. The developer who built it is on another project, and the error message says something about authentication that nobody on the team can act on.
A token that expires every hour isn't the risk. The risk is the integration that only wakes up once a season.
Shopify's documentation actually covers this case. For a store with no API work, it says you don't need to refresh every hour, but you should refresh at least once before the refresh token's 90-day expiry to keep access without the merchant reopening the app. The fix is a small scheduled job. It just has to exist.
Sequence of work
One seasonal integration's year
- December 3
A new custom app goes live and syncs gift orders to the wholesaler every hour, renewing its token as it goes.
- January 10
Gift season ends. Someone switches the sync off until next year.
- April
The last refresh token passes 90 days unused and expires. Nothing alerts anyone, because nothing is running.
- Next November
The sync is switched back on and fails on its first call. The person who built it has moved on.
A token that expires every hour isn't the risk. The risk is the integration that only wakes up once a season.
Two other ways it fails without a sound
The second failure is about timing. Many custom apps have more than one moving part: something that handles webhooks as orders come in, and something that runs on a schedule overnight. If both decide the token has expired and both go to get a fresh one at the same moment, Shopify's documentation is clear about what happens: acquiring a new token and refreshing one each retire the other's result, so one of the tokens the app receives is already invalid when it arrives. The app works most of the time and fails at odd moments, which is the worst kind of bug to chase in December.
The third is a hard-coded lifetime. Shopify tells developers to read the expiry time from each token response rather than assuming an hour, so the app keeps working if a lifetime changes. An app that assumes "one hour" will be fine until the day it isn't.
None of these are exotic. They're the kind of thing that gets skipped when a small app is built quickly at the busiest time of year.
If you're having one built this winter
You don't need to read token documentation to manage this. You need to ask three questions and listen to the answers, and the table under this section puts them side by side with what a good answer sounds like.
First, how does it renew? A good answer names a Shopify app template or library that refreshes before expiry, and says where the token pair is stored and that it's encrypted.
Second, what happens after a quiet stretch longer than 90 days? A good answer is a scheduled refresh, at least monthly, plus an alert to a named person if a refresh fails.
Third, who renews when two parts of the app run at once? A good answer is that one place renews tokens and everything else asks it for the current one.
If the answers are vague, that's useful information too. It's the same instinct as asking your app developers where their code calls out to: you're not checking their work line by line, you're checking that someone has thought about it.
Decision guide
Three questions for whoever builds it
| Consideration | Ask | A good answer sounds like |
|---|---|---|
| How does it renew? | Where the refresh token lives and what renews it. | A Shopify app template or library that refreshes before expiry, with the token pair stored encrypted. |
| What about a quiet season? | What happens if it doesn't run for more than 90 days. | A scheduled refresh at least monthly, plus an alert if a refresh fails. |
| Who renews when two jobs run? | Whether a webhook handler and a nightly job can renew at once. | One place renews tokens; everything else asks it for the current one. |
If someone on your team makes their own
Merchant-created apps are covered too. A lot of stores have a habit of making a small app in the admin, copying its token and pasting it into a script, a spreadsheet add-on or a reporting tool. For apps created from December 1, whatever holds that token has to renew it, or use the client credentials grant, whose tokens last 24 hours.
That doesn't mean the habit has to stop. It means the tool on the other end has to know how to keep its access fresh, and someone has to know which tools those are. A short list of every app your team has created, what it feeds and who made it is worth more than it sounds. It's also the first thing you'd need if you ever had to rotate a secret before a cutover, so it pays for itself twice.
Before you sign off the build
When the app is delivered, ask for a short handover note covering where the tokens live, what renews them, what alerts if renewal fails and who gets the alert. Then test the quiet-season case on purpose: switch the app off for a while in a development store, and confirm it comes back. It's an afternoon of someone's time in December instead of a lost morning next November.
If you're planning a custom Shopify app and want it built so it still works after the person who wrote it has moved on, that's a normal part of our ecommerce work. You can get in touch and bring the list of what it needs to talk to.
We build alongside the people doing the work.
Bring us the problem you’re thinking about.