location
A store location.
The location object is defined only if one or more locations has local pickup
enabled.
The location object is defined only if one or more locations has local pickup
enabled.
Tip: The <code>location</code> object is defined only if one or more locations has <a href="https://help.shopify.com/manual/shipping/setting-up-and-managing-your-shipping/local-methods/local-pickup">local pickup</a> enabled.
Properties
The latitude of the location's address.
If the location's address isn't verified, then
nilis returned.The longitude of the location's address.
If the location's address isn't verified, then
nilis returned.- metafieldsmetafields
The metafields applied to the location.
TipTo learn about how to create metafields, refer to Create and manage metafields or visit the Shopify Help Center.
Tip:To learn about how to create metafields, refer to Create and manage metafields or visit the Shopify Help Center.
Tip: To learn about how to create metafields, refer to <a href="/apps/metafields/manage">Create and manage metafields</a> or visit the <a href="https://help.shopify.com/manual/metafields">Shopify Help Center</a>.
Example
{
"address": {},
"id": 62002462785,
"latitude": 43.6556377,
"longitude": -79.38681079999999,
"metafields": {},
"name": "123 Edward Street"
}