App IP Allowlists Now Support Mixed IPs and ASNs—Up to 250 Entries

Shopify’s latest developer update lets apps combine IP addresses and autonomous system numbers in a single allowlist and expands the limit to 250 entries. Learn what changed, who it impacts, and how to configure the new settings for tighter security.

App IP Allowlists Now Support Mixed IPs and ASNs—Up to 250 Entries
6 sections

If you’ve ever struggled to keep your Shopify app’s API traffic safe while dealing with both static servers and serverless functions, the newest change to the App IP allowlist is a game‑changer. Effective immediately, the Dev Dashboard now lets you mix plain IP addresses, CIDR ranges, and autonomous system numbers (ASNs) in a single allowlist, and you can add up to 250 entries—more than double the previous cap.

What Exactly Changed?

Previously, the allowlist UI forced you to pick either IP addresses (or CIDR ranges) *or* ASNs. You could list up to 100 IPs or 10 ASNs, but not both. The update removes that restriction:

  • Mixed entries: Add IP addresses, CIDR ranges, *and* ASNs side‑by‑side.
  • Higher limits: Up to 250 IP addresses/ranges (up from 100) and up to 10 ASNs.
  • Country filtering for ASNs: You can now limit each ASN to the countries where your app actually runs, reducing exposure to unrelated traffic on the same provider network.
  • Who Needs to Pay Attention?

    The change is relevant to all public and custom apps on Shopify—whether you’re building a tiny private integration or a high‑traffic SaaS product. Merchants themselves won’t see the UI, but they’ll feel the impact when an app’s requests start failing with a 403 if the allowlist isn’t set correctly.

    How to Set Up the New Allowlist

  • Open the Dev Dashboard → Your app → Settings → IP allowlist.
  • Add static IPs – Enter each address or CIDR range on its own line. Example: 203.0.113.45 or 198.51.100.0/22.
  • Add ASNs for dynamic environments – Click the “Add ASN” button, paste the ASN number (e.g., AS16509 for Amazon), and optionally select the countries you want to allow. You can add up to 10.
  • {

    "ip_allowlist": [

    "203.0.113.45",

    "198.51.100.0/22",

    "2001:db8::/32"

    ],

    "asn_allowlist": [

    { "asn": "AS16509", "countries": ["US", "CA"] },

    { "asn": "AS15169", "countries": [] }

    ]

    }

  • Save – Once you’ve entered the mix of IPs and ASNs, click “Save”. The allowlist is now live, and any request that doesn’t match will be blocked with a 403 response.
  • Best Practices & Security Tips

    • Prefer IPs over ASNs whenever possible. An IP or CIDR range ties the allowlist to a specific server, eliminating the risk of other customers on the same provider network gaining access.

    • Use ASNs only for truly dynamic workloads such as AWS Lambda, Cloudflare Workers, or other serverless platforms where IPs rotate frequently.

    • Leverage country limits on ASNs to shrink the attack surface. If your app only serves merchants in North America, restrict the ASN to US, CA, and MX.

    • Test before enforcement – Shopify recommends toggling “Enforcement” off, monitoring logs for 403s, and confirming that legitimate traffic passes. Once you’re confident, enable enforcement to make the allowlist mandatory.

    What to Do Next?

    If you haven’t already, start building an allowlist for every public or custom app you maintain. The new limits give you plenty of room to future‑proof your configuration, and the mixed‑type support means you won’t need to maintain separate lists for static servers and serverless functions.

    Finally, keep an eye on Shopify’s developer changelog for upcoming enforcement dates and any additional refinements. Security is a moving target, and a well‑maintained allowlist is one of the simplest, most effective defenses you can deploy.

    Conclusion & Call to Action

    The expanded, mixed‑type IP allowlist is a clear signal that Shopify is doubling down on API security. By updating your app’s settings today, you’ll protect your merchants, avoid unexpected 403 errors, and stay ahead of the mandatory enforcement rollout.

    Ready to tighten your app’s security? Head over to the Dev Dashboard, configure your new allowlist, and test it against real traffic. Need help? Drop a comment below or join the Shopify Developers Slack channel for live assistance.

    Tags
    Sources

    Related Articles

    Take Control: Sunset Your Shopify App Directly from the Partner Dashboard

    Take Control: Sunset Your Shopify App Directly from the Partner Dashboard

    Shopify now lets developers remove their own apps from the App Store without contacting support. Learn the new workflow, how it impacts merchants, and the exact steps—including API cleanup—to safely sunset your app.

    November 12, 20264 min
    Store Credit and Smart Recommendations Now Live in Customer Accounts

    Store Credit and Smart Recommendations Now Live in Customer Accounts

    Shopify’s newest Customer Accounts update shows shoppers their store‑credit balance and delivers personalized product recommendations, giving merchants a clear path to boost loyalty and sales.

    November 12, 20264 min
    Why Your Custom Shopify Apps Need IP Allowlists Starting Jan 2027

    Why Your Custom Shopify Apps Need IP Allowlists Starting Jan 2027

    Shopify now requires IP allowlists for custom apps installed on stores outside the app owner's organization. Learn which apps are affected, the deadlines, and step‑by‑step how to configure allowlists so your integrations stay compliant and secure.

    November 11, 20265 min
    Why Shopify’s New 5‑Day Customer Data Erasure Window Matters for You

    Why Shopify’s New 5‑Day Customer Data Erasure Window Matters for You

    Shopify now processes customer data erasure requests in 5 days instead of 10, streamlining compliance and improving shopper trust. Learn who’s affected, what changes to expect, and how to adjust your apps and store policies today.

    November 11, 20265 min