The store_availability object shows which variants are stocked at physical locations, regardless of the current stock level. If a location does not stock a variant, that location is not returned.

The store_availability object is only defined if local pickup is enabled for one or more locations.

The store_availability object has the following attributes:

store_availability.available

Returns true if the variant has stock.

store_availability.location

Returns the location object where the variant is stocked.

storeavailability.pickup_enabled

Returns true if the variant is stocked at a location with pickup enabled.

storeavailability.pickup_time

Returns the time until the pickup is ready, for example Usually ready in 24 hours.

In VersaCommerce this is currently always an empty string.

VersaCommerce note: Variant availability refers to the shop's default location. Whether pickup is possible depends on the shipping methods (self-pickup).