Skip to main content
object

Requires unauthenticated_read_product_pickup_locations 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 ProductVariant.storeAvailability connection.

Learn more about supporting local pickup on storefronts.

•Boolean!
non-null

Whether the product variant is available at this location. This is true when 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, available can be true even when quantityAvailable is 0 or less. It doesn't mean the location offers local pickup.

•Location!
non-null

The location where this product variant is stocked at.

Show fields
•String!
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.

•Int!
non-null

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 0 while available is true.


Was this section helpful?