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:


Returns true if the variant has stock.


Returns the location object that the variant is stocked at.


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


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.