Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.
Represents the location where the physical good resides. You can stock inventory at active locations. Active
locations that have fulfills_online_orders: true and are configured with a shipping rate, pickup enabled or
local delivery will be able to sell from their storefront.
activatable•
Boolean!
non-null
Whether the location can be reactivated. If false, then trying to activate the location with the
LocationActivate
mutation will return an error that describes why the location can't be activated.
address•
LocationAddress!
non-null
The address of this location.
addressVerified•
Boolean!
non-null
Whether the location address has been verified.
createdAt•
DateTime!
non-null
The date and time (ISO 8601 format) that the location was added to a shop.
deactivatable•
Boolean!
non-null
Whether this location can be deactivated. If true, then the location can be deactivated by calling the
LocationDeactivate
mutation. If false, then calling the mutation to deactivate it will return an error that describes why the
location can't be deactivated.
deactivatedAt•
String
The date and time (ISO 8601 format) that the location was deactivated at. For example, 3:30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as "2019-09-07T15:50:00Z".
deletable•
Boolean!
non-null
Whether this location can be deleted.
fulfillmentService•
FulfillmentService
Name of the service provider that fulfills from this location.
fulfillsOnlineOrders•
Boolean!
non-null
Whether this location can fulfill online orders.
hasActiveInventory•
Boolean!
non-null
Whether this location has active inventory.
hasUnfulfilledOrders•
Boolean!
non-null
Whether this location has orders that need to be fulfilled.
id•
ID!
non-null
A globally-unique ID.
inventoryLevel•
InventoryLevel
The quantities of an inventory item at this location.
inventoryLevels•
InventoryLevelConnection!
non-null
A list of the quantities of the inventory items that can be stocked at this location.
isActive•
Boolean!
non-null
Whether the location is active. A deactivated location can be activated (change isActive: true) if it has
activatable set to true by calling the
locationActivate
mutation.
isFulfillmentService•
Boolean!
non-null
Whether this location is a fulfillment service.
legacyResourceId•
UnsignedInt64!
non-null
The ID of the corresponding resource in the REST Admin API.
localPickupSettingsV2•
DeliveryLocalPickupSettings
Local pickup settings for the location.
metafield•
Metafield
A custom field,
including its namespace and key, that's associated with a Shopify resource
for the purposes of adding and storing additional information.
metafields•
MetafieldConnection!
non-null
A list of custom fields
that a merchant associates with a Shopify resource.
metafieldsByIdentifiers•
[Metafield]!
non-null
The metafields associated with the resource matching the supplied list of namespaces and keys.
name•
String!
non-null
The name of the location.
shipsInventory•
Boolean!
non-null
Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored.
suggestedAddresses•
[LocationSuggestedAddress!]!
non-null
List of suggested addresses for this location (empty if none).
updatedAt•
DateTime!
non-null
The date and time (ISO 8601 format) when the location was last updated.
isPrimary•
Boolean!
non-nullDeprecated
Whether the location is your primary location for shipping inventory. The concept of a primary location is deprecated, shipsInventory can be used to get a fallback location
metafieldDefinitions•
MetafieldDefinitionConnection!
non-nullDeprecated
List of metafield definitions. This field will be removed in a future version. Use the root metafieldDefinitions field instead.