The store_availability object

The store_availability object is used to show what variants are stocked at physical store locations, regardless of the current stock level. If a location does not stock a variant, then that location will not be returned.

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 that the variant is stocked at.

store_availability.pick_up_enabled

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

store_availability.pick_up_time

Returns the amount of time it takes for pickup to be ready (Example: Usually ready in 24 hours). This value is set in the admin while setting up the local pickup option.