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. When the location offers local pickup, availability also includes inventory that can be moved to it through a store transfer route, so a variant can be available for pickup with no on-hand stock at the location.
Local pickup is configured 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!)
- pickUpTime (String!)
- quantityAvailable (Int!)
- Anchor to availableavailable•Boolean!non-null
Whether the product variant is available at this location. This is
truewhen the variant is in stock here, can be supplied through a store transfer from another location when this location offers local pickup, 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 whenis0or less. It doesn't mean the location offers local pickup.- Anchor to locationlocation•Location!non-null
The location where this product variant is stocked at.
Show fields
- 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.