In the Dev Dashboard IP allowlist, you can now add static IPs and ASNs (Autonomous System Numbers) to the same list. This makes setup easier for apps that use both static and dynamic IPs. IP allowlists are expected to become required for all public and custom apps soon.
You chose whether to restrict by IP address or by network (ASN). IP addresses/ranges were limited to 100.
You can add IP addresses/CIDR ranges (up to 250) and ASNs (up to 10) at the same time. You can also add just one type.
Add them in the "IP addresses or CIDR ranges" field
Add them in the "Networks (ASN)" field
Set in "Limit ASNs to countries"
| Item | Before | After |
|---|---|---|
| Using IPs and ASNs together | Only one or the other | Can be combined Either alone also works |
| IP address / range limit | 100 entries | 250 entries |
| ASN limit | Not specified | 10 entries |
| Country restrictions | Not specified | Up to 10 countries.Applies to ASNs only |
| Requests from outside the allowlist | Not specified | 403 Fail with |
| Required? | Optional | Required soon Applies to all public and custom apps (timing not specified) |
Allow by IP address whenever possible. This is considered the most secure approach, since only your servers can use the app's access token.
Add ASNs only for requests whose IPs change, such as serverless functions. Then restrict them to the countries where your app runs.
In the Dev Dashboard, open your app's Settings page and go to the IP allowlist section.
Enter static IPs in the IP/CIDR field. Register only dynamic sources in the ASN field, and restrict them by country.
Before turning on enforcement, validate your updated allowlist against recent traffic.
API calls from unregistered sources fail with a 403. Set up your app's error handling and monitoring so that a spike in 403s is flagged as a sign of a missing allowlist entry.
A request is allowed if it matches any one registered IP or ASN. Adding ASNs widens the allowed range (it does not narrow it with AND logic).
"Limit ASNs to countries" restricts only requests that come through ASNs. Country restrictions don't apply to sources registered by IP address.
You can register CIDR ranges as well as single IPs, with each counting as one entry, up to 250 entries. Even multi-region setups with many static IPs can stay within the limit by grouping them into CIDR ranges.
IP allowlists will soon be required for all public and custom apps(no start date given). Shopify also strongly recommends using them for all apps. It's safest to identify the source of every path that calls the Shopify API (batch jobs, webhook handlers, admin backends, serverless functions, etc.) and move whatever you can to static IPs.