Storefront API version 2027-01 lets you ask for walk-in storefront locations with a new argument, without changing existing pickup behavior. Apps that query can now include or exclude storefronts explicitly, and no one needs to update existing queries.
What changed
In Storefront API 2027-01, has two new optional arguments, and has two new fields:
, defaulttrue: include locations that offer local pickup., default off: also include locations the merchant has marked as a physical storefront, even when they don’t offer pickup. A variant is returned for one of these only when it is in stock there, or can be sold without stock.- The
fieldsandtell you which kind each returned location entry is.
The arguments combine with “or”: a location is returned if it matches any argument you set to true.
A location that doesn’t offer pickup is still not returned when the variant is sold out there, or when the location is closed. A location that offers pickup stays in the list when the variant is sold out, with available: false, as it does today.
Who is affected
Apps that call on Storefront API 2027-01 (or later versions that include this change) can opt in to filtering by walk-in storefronts.
You don’t have to change anything. If you don’t pass any arguments, you still get only pickup locations, exactly as in 2026-10 and earlier. Only clients that want walk-in storefronts need to add arguments.
What to do
To also show physical storefronts alongside pickup locations, pass :
{
product(handle: "example") {
selectedOrFirstAvailableVariant {
storeAvailability(first: 10, physicalStorefront: true) {
nodes {
location { name }
available
pickUpEnabled
physicalStorefront
}
}
}
}
}Use this pattern in your storefront queries when you want to surface walk-in locations, and read and to show the right UI for each location.
To list only walk-in storefronts and pickup stores that are also storefronts, pass . Use the returned to show a pickup button only where it is true.
Example
A shop has pickup at Leeds, pickup at Manchester (also marked as a storefront), and a walk-in storefront in Camden with pickup off. The variant is in stock at all three.
| You send | You get |
|---|---|
| nothing | Leeds, Manchester |
| Leeds, Manchester, Camden |
| Manchester, Camden |
| nothing |
A walk-in storefront without pickup where the variant is sold out, or that is closed, isn’t returned. For Camden, is false and is an empty string.
A store that offers pickup stays in the list when the variant is sold out there, with available: false, as it does today. This is also true for a pickup store that is a storefront (like Manchester), whichever argument selects it. If you want only stores that have the item, keep the entries where available is true.
Notes
- Sending
nullfor either argument is the same as leaving it out. - If you switch both arguments off (for example
and no other argument), the list is empty. This isn’t an error. availablekeeps its meaning. For a location that doesn’t offer pickup, stock that would have to be moved to the location doesn’t count.