Store Availability
Requires access scope.
Inventory information for a product variant at a physical store location. Includes stock availability, quantity on hand, and estimated pickup readiness time. Availability also includes inventory that can be moved to the location through a store transfer route, so a variant can be available for pickup with no on-hand stock at the location.
Local pickup is enabled in the store's shipping settings,
and a returned location isn't guaranteed to offer it. Results can be sorted by
proximity to a customer's location using the near argument on the connection.
Learn more about supporting local pickup on storefronts.
Anchor to FieldsFields
- available (Boolean!)
- location (Location!)
- physicalStorefront (Boolean!)
- pickUpEnabled (Boolean!)
- pickUpTime (String!)
- quantityAvailable (Int!)
- Anchor to availableavailable•Boolean!non-null
Whether the product variant can be picked up at this location. This is
truewhen the variant is in stock here, can be supplied through a store transfer from another location, or is sold with untracked or oversellable inventory (its inventory isn't tracked, or its inventory policy allows continuing to sell when out of stock). As a result,availablecan betrueeven whenis0.- Anchor to locationlocation•Location!non-null
The location where this product variant is stocked at.
Show fields
- Anchor to physicalStorefrontphysical•Boolean!
Storefront non-null Whether this location is a physical retail store where a buyer can buy this product variant in person. Merchants set this with the "Physical storefront" setting on a location. This is informational: it doesn't mean the variant can be bought or reserved online, and it's independent of
.- Anchor to pickUpEnabledpick•Boolean!
Up Enabled non-null Whether a buyer can reserve this product variant online and collect it at this location. When
false, don't present this location as a pickup option.- Anchor to pickUpTimepick•String!
Up Time non-null Returns the estimated amount of time it takes for pickup to be ready (Example: Usually ready in 24 hours). When the variant is out of stock at this location and supplied through a store transfer, this reflects the estimated transfer transit time when available, otherwise it falls back to the location's standard pickup processing time.
- Anchor to quantityAvailablequantity•Int!
Available non-null Token access required The quantity of the product variant physically in stock at this location. This counts on-hand inventory only and excludes inventory available through a store transfer, so it can be
0whileavailableistrue.