Home > @infiniteobjects/shopify-data-manager > AdminTypes > Location
Represents the location where the physical good resides.
Signature:
export interface Location extends HasMetafieldDefinitions, HasMetafields, LegacyInteroperability, Node
Extends: HasMetafieldDefinitions, HasMetafields, LegacyInteroperability, Node
Property | Modifiers | Type | Description |
---|---|---|---|
activatable | Scalars[‘Boolean’][‘output’] | Whether this location can be reactivated. | |
address | LocationAddress | The address of this location. | |
addressVerified | Scalars[‘Boolean’][‘output’] | Whether the location address has been verified. | |
deactivatable | Scalars[‘Boolean’][‘output’] | Whether this location can be deactivated. | |
deactivatedAt? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) 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 | Scalars[‘Boolean’][‘output’] | Whether this location can be deleted. | |
fulfillmentService? | Maybe<FulfillmentService> | (Optional) Name of the service provider that fulfills from this location. | |
fulfillsOnlineOrders | Scalars[‘Boolean’][‘output’] | Whether this location can fulfill online orders. | |
hasActiveInventory | Scalars[‘Boolean’][‘output’] | Whether this location has active inventory. | |
hasUnfulfilledOrders | Scalars[‘Boolean’][‘output’] | Whether this location has orders that need to be fulfilled. | |
id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
inventoryLevel? | Maybe<InventoryLevel> | (Optional) The quantities of an inventory item at this location. | |
inventoryLevels | InventoryLevelConnection | A list of the quantities of the inventory items that can be stocked at this location. | |
isActive | Scalars[‘Boolean’][‘output’] | Whether the location is active. | |
isPrimary | Scalars[‘Boolean’][‘output’] | Whether the location is your primary location for shipping inventory. | |
legacyResourceId | Scalars[‘UnsignedInt64’][‘output’] | The ID of the corresponding resource in the REST Admin API. | |
localPickupSettingsV2? | Maybe<DeliveryLocalPickupSettings> | (Optional) Local pickup settings for the location. | |
metafield? | Maybe<Metafield> | (Optional) Returns a metafield by namespace and key that belongs to the resource. | |
metafieldDefinitions | MetafieldDefinitionConnection | List of metafield definitions. | |
metafields | MetafieldConnection | List of metafields that belong to the resource. | |
name | Scalars[‘String’][‘output’] | The name of the location. | |
privateMetafield? | Maybe<PrivateMetafield> | (Optional) Returns a private metafield by namespace and key that belongs to the resource. | |
privateMetafields | PrivateMetafieldConnection | List of private metafields that belong to the resource. | |
shipsInventory | Scalars[‘Boolean’][‘output’] | Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. | |
suggestedAddresses | Array<LocationSuggestedAddress> | List of suggested addresses for this location (empty if none). |