The location object
The location
object contains information about a single store location. It's accessible only through the store_availability
object, which is returned as part of the store_availabilities
attribute of the variant
object.
The location
object has the following attributes:
location.address
Anchor link to section titled "location.address"Returns the address object corresponding to this location.
location.id
Anchor link to section titled "location.id"Returns the ID of the location.
location.latitude
Anchor link to section titled "location.latitude"Returns the latitude associated to the location. It will return null
if the address is not verified.
location.longitude
Anchor link to section titled "location.longitude"Returns the longitude associated with the location. It will return null
if the address is not verified.
location.name
Anchor link to section titled "location.name"Returns the name of location.