地点-Location 对象
代表物理物品所在的位置。
在本页面
Connections
库存水平([InventoryLevelConnection!](https://shopify.dev/docs/admin-api/graphql/reference/inventory/inventorylevel)
)
该位置库存的库存物料的库存水平分页清单。
争论 | 描述 |
---|---|
after () [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
返回指定游标之后的元素。 |
before () [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
返回指定游标之前的元素。 |
first () [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) |
返回n 列表中的第一个元素。 |
last () [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) |
返回n 列表中的最后一个元素。 |
query () [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
支持的过滤器参数: + created_at + inventory_group_id + inventory_item_id + updated_at 有关使用过滤器的更多信息,请参见详细的搜索语法。 |
reverse () [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01) |
颠倒基础列表的顺序。 默认值: false |
字段
- 可激活的(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
此位置是否可以重新激活。 - 地址(
[LocationAddress!](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/locationaddress)
)
用于定位的LocationAddress对象。 - addressVerified(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
位置地址是否已通过验证。 - 可停用(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
此位置是否可以停用。 - deactivatedAt(
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
位置被停用的日期和时间(如果位置仍处于活动状态,则为null)。遵循UTC ISO8601格式,例如:“ 2019-04-24T13:42:24Z”。 - 可删除的(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
此位置是否可以删除。 - 满额服务(
[FulfillmentService](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentservice)
)
从该位置履行的服务提供商的名称。 - 满载在线订单(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
指示此位置是否可以履行在线订单。 - hasActiveInventory(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
指示此位置是否有活动清单。 - hasUnfulfilledOrders(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
指示此位置是否有未完成的订单。 - 编号(
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
)
全局唯一标识符。 - 库存水平(
[InventoryLevel](https://shopify.dev/docs/admin-api/graphql/reference/inventory/inventorylevel)
)
给定库存项目的单个库存级别。
争论 | 描述 |
---|---|
inventoryItemId () [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01) 必需的 |
指定要返回的库存级别的库存项目ID。 |
- isActive(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
该位置是否处于活动状态。 - legacyResourceId(
[UnsignedInt64!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#unsignedint64-2021-01)
)
REST Admin API中相应资源的ID。 - name(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
地点的名称。 - 船舶库存(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
指示此位置是否用于计算运费。 - 建议的地址(
[[LocationSuggestedAddress!]!](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/locationsuggestedaddress)
)
此位置的建议地址列表(如果没有则为空)。
返回位置的类型
[DeliveryCarrierServiceAndLocations.locations](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverycarrierserviceandlocations#locations-2021-01)
[DeliveryLocationGroup.locations](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverylocationgroup#locations-2021-01)
[DeliveryProfile.unassignedLocations](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliveryprofile#unassignedlocations-2021-01)
[Fulfillment.location](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillment#location-2021-01)
[FulfillmentOrderAssignedLocation.location](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentorderassignedlocation#location-2021-01)
[FulfillmentOrderLocationForMove.location](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentorderlocationformove#location-2021-01)
[FulfillmentService.location](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentservice#location-2021-01)
[InventoryLevel.location](https://shopify.dev/docs/admin-api/graphql/reference/inventory/inventorylevel#location-2021-01)
[Order.physicalLocation](https://shopify.dev/docs/admin-api/graphql/reference/orders/order#physicallocation-2021-01)
[QueryRoot.location](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#location-2021-01)
[QueryRoot.locations](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#locations-2021-01)
[QueryRoot.locationsAvailableForDeliveryProfilesConnection](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#locationsavailablefordeliveryprofilesconnection-2021-01)
[RefundLineItem.location](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundlineitem#location-2021-01)
派生关系
[LegacyInteroperability](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/legacyinteroperability)
[Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)
在本页面
字段
- edges(
[[LocationEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/location)
)
边列表。 - pageInfo(
[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo)
)
有助于分页的信息。
自动生成的类型,在分页过程中保留一个Location和一个光标。
在本页面
字段
- cursor(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
用于分页的光标。 - node(
[Location!](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/location)
)
LocationEdge末尾的项目。
返回LocationEdge的类型
[LocationConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/location#edges-2021-01)