Show Walk‑In Stores in Your Shopify Storefront with the New StoreAvailability Flag

Shopify’s Storefront API 2027‑01 adds a physicalStorefront argument, letting developers surface walk‑in locations alongside pickup points. Learn what changed, who it impacts, and how to implement the new query today.

Show Walk‑In Stores in Your Shopify Storefront with the New StoreAvailability Flag
7 sections

Shopify just released a targeted enhancement to the Storefront API that lets you surface walk‑in storefront locations in addition to traditional pickup points. In version 2027‑01, the ProductVariant.storeAvailability field now accepts a physicalStorefront argument, giving merchants and developers granular control over which locations appear in their storefront UI. This post breaks down the new arguments, who should care, and step‑by‑step code you can drop into your theme or app right now.

What’s New in Storefront API 2027‑01

The 2027‑01 version introduces two optional boolean arguments on ProductVariant.storeAvailability: pickUpEnabled (default true) and physicalStorefront (default false). At the same time, the StoreAvailability type gains two matching fields, pickUpEnabled and physicalStorefront, so the response tells you exactly why a location was returned. The logic uses an “or” combination – a location appears if it satisfies any argument you set to true.

New Arguments and Fields Explained

• pickUpEnabled (Boolean, default true) – Keeps the familiar behavior of returning locations that support local pickup. When true, the API includes pickup‑enabled stores regardless of stock status, marking them unavailable (available: false) if they’re out of stock. • physicalStorefront (Boolean, default false) – When true, the API also returns locations the merchant has flagged as a physical storefront, even if they don’t offer pickup. A storefront entry is only returned if the variant is in stock there or if the merchant allows selling without inventory. The response now includes pickUpEnabled and physicalStorefront flags for each node, letting you tailor UI elements such as “Pick up” buttons or “Visit store” links.

How It Affects Developers and Merchants

Developers building custom storefronts, mobile apps, or third‑party integrations are the primary audience. Existing queries that omit the new arguments continue to work exactly as before, returning only pickup locations. This means you can adopt the feature incrementally – no breaking changes. Merchants benefit indirectly: once their storefront displays walk‑in locations, shoppers can see nearby stores they can simply walk into, potentially boosting foot traffic. No merchant‑side configuration is required beyond marking a location as a “Physical storefront” in Shopify admin.

Implementation Guide – Querying Physical Storefronts

Below is a minimal GraphQL query that pulls both pickup and walk‑in locations for a product variant. The query requests the new flags so you can differentiate the UI presentation.

{\n product(handle: \"example\") {\n selectedOrFirstAvailableVariant {\n storeAvailability(first: 10, physicalStorefront: true) {\n nodes {\n location { name }\n available\n pickUpEnabled\n physicalStorefront\n }\n }\n }\n }\n}

Key takeaways from the response:

- If pickUpEnabled is true, render a “Pick up” button and respect the available flag (show “Out of stock for pickup” when available is false).

- If physicalStorefront is true, show a “Visit Store” link or map, regardless of pickup settings. You may still check the available flag to warn about out‑of‑stock items.

Best‑Practice Tips for UI and Data Handling

  • Combine flags for hybrid locations. A store marked as both pickup‑enabled and a physical storefront will return both flags as true – use pickUpEnabled to decide whether to display a pickup button and physicalStorefront for a “Visit us” CTA.\n2. Cache results per‑product variant for up to 5 minutes to reduce API load, especially if you display location lists on collection pages.\n3. Respect merchant operating hours: the API already omits closed locations, but you can add a friendly “Closed now” badge when available is false and pickUpEnabled is true.\n4. Test edge cases where stock is zero but the location is a storefront; the API will not return it unless the merchant allows selling without inventory, so your UI should gracefully handle an empty list.
  • Next Steps and Checklist

    - Upgrade your Storefront API version to 2027‑01 (or later).\n- Add physicalStorefront: true to any storeAvailability queries where you want walk‑in locations.\n- Update your UI components to read pickUpEnabled and physicalStorefront fields.\n- Run QA against a store that has a mix of pickup‑only, storefront‑only, and hybrid locations.\n- Monitor GraphQL response sizes; adding the extra fields increases payload by ~10 % per location.

    Conclusion

    The Storefront API 2027‑01 update gives you the flexibility to showcase both pickup points and traditional walk‑in stores without disrupting existing implementations. By simply toggling the physicalStorefront argument, you can enrich the shopper experience, drive foot traffic, and keep your codebase stable. Ready to bring your storefront into the physical world? Update your API version, add the new flag, and watch your location listings come alive.

    Tags
    Sources

    Related Articles

    Payment Verification Proof Boosts Your Chargeback Defense

    Payment Verification Proof Boosts Your Chargeback Defense

    Shopify Payments now automatically attaches CVV, AVS, 3D Secure, EMV and Visa evidence to unauthorized chargeback responses, giving merchants stronger proof and developers clearer data. Learn what changed, who it impacts, and how to act now.

    November 25, 20264 min
    Boost Chargeback Defense for AI‑Powered Orders with New Shopify Evidence

    Boost Chargeback Defense for AI‑Powered Orders with New Shopify Evidence

    Shopify now automatically adds checkout details to chargeback responses for orders placed by AI shopping assistants, giving merchants stronger proof of authorization and reducing dispute risk.

    November 25, 20264 min
    AI-Powered Chargeback Defenses Now Available for Every Dispute Reason

    AI-Powered Chargeback Defenses Now Available for Every Dispute Reason

    Shopify’s latest update lets merchants auto‑generate AI‑crafted responses for any chargeback reason, streamlining disputes and boosting win rates. Learn what changed, who it impacts, and how to enable the feature.

    November 25, 20263 min
    Control Who Sees Chargeback Alerts: New Staff Notification Settings Explained

    Control Who Sees Chargeback Alerts: New Staff Notification Settings Explained

    Shopify now lets you decide which staff members receive chargeback notifications. Learn what changed, who it impacts, and how to configure the new settings for faster dispute handling.

    November 25, 20264 min