查询入口

模式的查询入口点。它充当公共的顶级API,所有查询都必须从该API开始。


在本页面


Connections

appInstallations([AppInstallationConnection!](https://shopify.dev/docs/admin-api/graphql/reference/apps/appinstallationconnection))
应用安装列表。

参数 描述
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)
)
返回指定游标之前的元素。
category
([AppInstallationCategory](https://shopify.dev/docs/admin-api/graphql/reference/apps/appinstallationcategory)
)
要获取的应用安装类别。
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列表中的最后一个元素。
privacy
([AppInstallationPrivacy](https://shopify.dev/docs/admin-api/graphql/reference/apps/appinstallationprivacy)
)
要获取的应用安装的隐私级别。
默认值:PUBLIC
reverse
([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
颠倒基础列表的顺序。
默认值:false
sortKey<font style="background-color:#FFFFFF;">(</font>
[AppInstallationSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/apps/appinstallationsortkeys)
)
按给定键对基础列表进行排序。
默认值:INSTALLED_AT

automaticDiscountNodes([DiscountAutomaticNodeConnection!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountautomaticnode))
自动折扣列表。

参数 描述
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)
)
支持的过滤器参数:
+ status
+ type
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
颠倒基础列表的顺序。
默认值:false
savedSearchId
([ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
)
现有已保存搜索的ID。搜索的查询字符串用作查询参数。
sortKey
([AutomaticDiscountSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/automaticdiscountsortkeys)
)
按给定键对基础列表进行排序。
默认值:CREATED_AT

automaticDiscountSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店的自动折扣保存搜索列表。

参数 描述
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列表中的最后一个元素。
reverse
([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
颠倒基础列表的顺序。
默认值:false

codeDiscountNodes([DiscountCodeNodeConnection!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodenode))代码折扣列表。查询参数的特殊字段:

  1. - 状态:有效,已过期,已安排
  2. - discount_type:bogo,固定金额,免运费,百分比。
参数 描述
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
+ discount_type
+ ends_at
+ starts_at
+ status
+ times_used
+ type
+ updated_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
颠倒基础列表的顺序。
默认值:false
savedSearchId
([ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
)
现有已保存搜索的ID。搜索的查询字符串用作查询参数。
sortKey
([CodeDiscountSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/codediscountsortkeys)
)
按给定键对基础列表进行排序。
默认值:CREATED_AT

codeDiscountSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店的代码折扣保存的搜索列表。

参数 描述
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列表中的最后一个元素。
reverse
([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
颠倒基础列表的顺序。
默认值:false

collectionSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店的集合已保存搜索列表。
所需的访问
read_products 访问范围。

参数 描述
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列表中的最后一个元素。
reverse ([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)) 颠倒基础列表的顺序。
默认值:false

collections([CollectionConnection!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collection))
集合列表。

参数 描述
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)) 支持的过滤器参数:
+ collection_type
+ publishable_status
+ published_status
+ title
+ updated_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse ([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)) 颠倒基础列表的顺序。
默认值:false
savedSearchId ([ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)) 现有已保存搜索的ID。搜索的查询字符串用作查询参数。
sortKey ([CollectionSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collectionsortkeys)) 按给定键对基础列表进行排序。
默认值:ID

customerSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店的客户保存搜索列表。

参数 描述
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)) 支持的过滤器参数:
+ name
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse ([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)) 颠倒基础列表的顺序。
默认值:false
sortKey ([CustomerSavedSearchSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/customers/customersavedsearchsortkeys)) 按给定键对基础列表进行排序。
默认值:ID

customers([CustomerConnection!](https://shopify.dev/docs/admin-api/graphql/reference/customers/customer))
客户名单。

参数 描述
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)) 支持的过滤器参数:
+ accepts_marketing
+ country
+ customer_date
+ email
+ last_abandoned_order_date
+ order_date
+ orders_count
+ phone
+ state
+ tag
+ total_spent
+ updated_at
请参阅详细的搜索语法。
reverse ([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)) 颠倒基础列表的顺序。
默认值:false
sortKey ([CustomerSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/customers/customersortkeys)) 按给定键对基础列表进行排序。
默认值:ID

deleteEvents([DeletionEventConnection!](https://shopify.dev/docs/admin-api/graphql/reference/events/deletioneventconnection))
分页的删除事件。

参数 描述
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)
支持的过滤器参数:
+ occurred_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
sortKey
() [DeletionEventSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/events/deletioneventsortkeys)
按给定键对基础列表进行排序。
默认值:ID
subjectTypes
() [[DeletionEventSubjectType!]](https://shopify.dev/docs/admin-api/graphql/reference/events/deletioneventsubjecttype)
要过滤的主题类型列表。

deliveryProfiles([DeliveryProfileConnection!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliveryprofile))
已保存的交货资料列表。

参数 描述
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列表中的最后一个元素。
merchantOwnedOnly
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
仅包括商人创建的交货资料。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

discountRedeemCodeSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店兑换的折扣代码已保存搜索列表。
所需的访问
read_discounts 访问范围。

参数 描述
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)
支持的过滤器参数:
+ times_used
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
sortKey
() [DiscountCodeSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodesortkeys)
按给定键对基础列表进行排序。
默认值:ID

draftOrderSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店的草稿订单清单已保存搜索。
所需的访问
read_draft_orders 访问范围。

参数 描述
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列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

draftOrders([DraftOrderConnection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftorder))
已保存的草稿订单清单。

参数 描述
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
+ customer_id
+ status
+ tag
+ updated_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
sortKey
() [DraftOrderSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftordersortkeys)
按给定键对基础列表进行排序。
默认值:ID

inventoryItems([InventoryItemConnection!](https://shopify.dev/docs/admin-api/graphql/reference/inventory/inventoryitem))
库存项目清单。

参数 描述
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
+ id
+ sku
+ updated_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

locations([LocationConnection!](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/location))
活动位置列表。

参数 描述
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列表中的第一个元素。
includeInactive
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
如果为true,则还包括已停用的位置。
默认值:false
includeLegacy
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
如果为true,则还包括履行服务的旧位置。
默认值:false
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)
支持的过滤器参数:
+ active
+ address1
+ address2
+ city
+ country
+ legacy
+ name
+ province
+ zip
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
sortKey
() [LocationSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/locationsortkeys)
按给定键对基础列表进行排序。
默认值:NAME

locationsAvailableForDeliveryProfilesConnection([LocationConnection!](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/location))
返回可用于交货配置文件的所有原始位置的列表。

参数 描述
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列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

marketingActivities([MarketingActivityConnection!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingactivity))
广告活动的营销活动列表。

参数 描述
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)
支持的过滤器参数:
+ app_id
+ created_at
+ marketing_campaign_id
+ scheduled_to_end_at
+ scheduled_to_start_at
+ tactic
+ title
+ updated_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
savedSearchId
() [ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
现有已保存搜索的ID。搜索的查询字符串用作查询参数。
sortKey
() [MarketingActivitySortKeys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingactivitysortkeys)
按给定键对基础列表进行排序。
默认值:CREATED_AT

marketingEvents([MarketingEventConnection!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingevent))
营销活动列表。

参数 描述
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)
支持的过滤器参数:
+ app_id
+ description
+ started_at
+ type
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
sortKey
() [MarketingEventSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingeventsortkeys)
按给定键对基础列表进行排序。
默认值:ID

metafieldStorefrontVisibilities([MetafieldStorefrontVisibilityConnection!](https://shopify.dev/docs/admin-api/graphql/reference/metafields/metafieldstorefrontvisibilityconnection))
Storefront API可见的元字段名称空间和键的列表。

参数 描述
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列表中的最后一个元素。
namespace
() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
按名称空间过滤元字段店面白名单。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

orderSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店的订单保存搜索列表。
所需的访问
read_orders 访问范围。

参数 描述
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列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

orders([OrderConnection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/order))
下订单清单。

参数 描述
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)
支持的过滤器参数:
+ cart_token
+ channel_id
+ chargeback_status
+ checkout_token
+ created_at
+ credit_card_last4
+ customer_id
+ delivery_method
+ discount_code
+ email
+ financial_status
+ fraud_protection_level
+ fulfillment_location_id
+ fulfillment_status
+ location_id
+ name
+ processed_at
+ reference_location_id
+ return_status
+ risk_level
+ sales_channel
+ source_identifier
+ source_name
+ status
+ tag
+ test
+ updated_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
savedSearchId
() [ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
现有已保存搜索的ID。搜索的查询字符串用作查询参数。
sortKey
() [OrderSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/orders/ordersortkeys)
按给定键对基础列表进行排序。
默认值:PROCESSED_AT

priceRuleSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店的价格规则列表已保存搜索。

参数 描述
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列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

priceRules([PriceRuleConnection!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricerule))
价格规则清单。

参数 描述
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
+ discount_type
+ ends_at
+ starts_at
+ status
+ times_used
+ updated_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
savedSearchId
() [ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
现有已保存搜索的ID。搜索的查询字符串用作查询参数。
sortKey
() [PriceRuleSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricerulesortkeys)
按给定键对基础列表进行排序。
默认值:ID

privateMetafields([PrivateMetafieldConnection!](https://shopify.dev/docs/admin-api/graphql/reference/metafields/privatemetafieldconnection))
私有元字段列表。

参数 描述
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列表中的最后一个元素。
namespace
() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
按名称空间过滤私有元字段。
owner
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
检索由资源ID指定的特定资源的私有元字段。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

productSavedSearches([SavedSearchConnection!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearchconnection))
商店产品保存的搜索列表。
所需的访问
read_products 访问范围。

参数 描述
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列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

productVariants([ProductVariantConnection!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/productvariant))
产品变型列表。

参数 描述
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)
支持的过滤器参数:
+ barcode
+ collection
+ delivery_profile_id
+ gift_card
+ inventory_quantity
+ location_id
+ managed
+ managed_by
+ product_id
+ product_status
+ product_type
+ publishable_status
+ published_status
+ sku
+ tag
+ taxable
+ title
+ updated_at
+ vendor
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
savedSearchId
() [ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
现有已保存搜索的ID。搜索的查询字符串用作查询参数。
sortKey
() [ProductVariantSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/productvariantsortkeys)
按给定键对基础列表进行排序。
默认值:ID

products([ProductConnection!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/product))
产品清单。

参数 描述
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)
支持的过滤器参数:
+ barcode
+ created_at
+ delivery_profile_id
+ error_feedback
+ gift_card
+ inventory_total
+ is_price_reduced
+ out_of_stock_somewhere
+ price
+ product_type
+ publishable_status
+ published_status
+ sku
+ status
+ tag
+ title
+ updated_at
+ vendor
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
savedSearchId
() [ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
现有已保存搜索的ID。搜索的查询字符串用作查询参数。
sortKey
() [ProductSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/productsortkeys)
按给定键对基础列表进行排序。
默认值:ID

publications([PublicationConnection!](https://shopify.dev/docs/admin-api/graphql/reference/apps/publicationconnection))
活动出版物列表。
所需的访问
read_publications访问范围。该范围当前仅适用于Shopify Plus商店中安装的私人应用程序。

参数 描述
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列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

scriptTags([ScriptTagConnection!](https://shopify.dev/docs/admin-api/graphql/reference/online-store/scripttagconnection))
脚本标签列表。

参数 描述
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列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
src
() [URL](https://shopify.dev/docs/admin-api/graphql/reference/scalar#url-2021-01)
脚本标记的源URL。

sellingPlanGroups([SellingPlanGroupConnection!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplangroup))
列出销售计划组。

参数 描述
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)
支持的过滤器参数:
+ delivery_frequency
+ percentage_off
+ name
+ created_at
请参阅详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
sortKey
() [SellingPlanGroupSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplangroupsortkeys)
按给定键对基础列表进行排序。
默认值:ID

subscriptionContracts([SubscriptionContractConnection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptioncontract))
列出订购合同。

参数 描述
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列表中的最后一个元素。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

tenderTransactions ([TenderTransactionConnection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/tendertransaction))
与商店关联的TenderTransactions列表。

参数 描述
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)
支持的过滤器参数:
+ processed_at
+ test
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

translatableResources([TranslatableResourceConnection!](https://shopify.dev/docs/admin-api/graphql/reference/translations/translatableresourceconnection))
可翻译资源列表。

参数 描述
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列表中的最后一个元素。
resourceType
() [TranslatableResourceType!](https://shopify.dev/docs/admin-api/graphql/reference/translations/translatableresourcetype)

必需的
仅返回某种类型的资源。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false

webhookSubscriptions ([WebhookSubscriptionConnection!](https://shopify.dev/docs/admin-api/graphql/reference/events/webhooksubscriptionconnection))
Webhook订阅列表。

参数 描述
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)
返回指定游标之前的元素。
callbackUrl
() [URL](https://shopify.dev/docs/admin-api/graphql/reference/scalar#url-2021-01)
要过滤的回调URL。
first
() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
返回n列表中的第一个元素。
format
() [WebhookSubscriptionFormat](https://shopify.dev/docs/admin-api/graphql/reference/events/webhooksubscriptionformat)
响应格式进行过滤。
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
+ updated_at
有关使用过滤器的更多信息,请参见详细的搜索语法。
reverse
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
颠倒基础列表的顺序。
默认值:false
sortKey
() [WebhookSubscriptionSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/events/webhooksubscriptionsortkeys)
按给定键对基础列表进行排序。
默认值:CREATED_AT
topics
() [[WebhookSubscriptionTopic!]](https://shopify.dev/docs/admin-api/graphql/reference/events/webhooksubscriptiontopic)
要过滤的Webhook订阅主题列表。

字段

app([App](https://shopify.dev/docs/admin-api/graphql/reference/apps/app))
通过ID查找应用程序或返回当前已验证的应用程序。

参数 描述
id
() [ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
用于查找应用程序的ID。

appByHandle([App](https://shopify.dev/docs/admin-api/graphql/reference/apps/app))
通过句柄获取应用。如果应用不存在,则返回null。

参数 描述
handle
() [String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)

必需的
应用程序的句柄。

appByKey([App](https://shopify.dev/docs/admin-api/graphql/reference/apps/app))
通过apiKey获取应用。如果应用不存在,则返回null。

参数 描述
apiKey
() [String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)

必需的
应用程序的API密钥。

appInstallation([AppInstallation](https://shopify.dev/docs/admin-api/graphql/reference/apps/appinstallation))
通过ID查找AppInstallation或返回当前已认证的App的AppInstallation。

参数 描述
id
() [ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
用于查找AppInstallation的ID。

automaticDiscountNode([DiscountAutomaticNode](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountautomaticnode))
按ID返回自动折扣资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的DiscountAutomaticNode的ID。

availableCarrierServices([[DeliveryCarrierServiceAndLocations!]!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverycarrierserviceandlocations))
已激活的运营商服务列表以及支持它们的商店位置。

availableLocales([[Locale!]!](https://shopify.dev/docs/admin-api/graphql/reference/translations/locale))
可用语言环境列表。

carrierService([DeliveryCarrierService](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverycarrierservice))
通过ID查找运营商服务。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的DeliveryCarrierService的ID。

codeDiscountNode([DiscountCodeNode](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodenode))
按ID返回代码折扣资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的DiscountCodeNode的ID。

codeDiscountNodeByCode([DiscountCodeNode](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodenode))
返回由其代码标识的代码折扣。

参数 描述
code
() [String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)

必需的
要返回的DiscountCodeNode的代码。

collection([Collection](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collection))
按ID返回Collection资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的集合的ID。

collectionByHandle([Collection](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collection))
通过其句柄返回一个集合。

参数 描述
handle
() [String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)

必需的
集合的句柄。

collectionRulesConditions([[CollectionRuleConditions!]!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collectionruleconditions))
规则条件列表,用于定义如何创建带有规则的集合。

currentAppInstallation([AppInstallation!](https://shopify.dev/docs/admin-api/graphql/reference/apps/appinstallation))
返回当前已认证的App的AppInstallation。

currentBulkOperation([BulkOperation](https://shopify.dev/docs/admin-api/graphql/reference/bulk-operations/bulkoperation))
返回当前应用程序的最新BulkOperation。

customer ([Customer](https://shopify.dev/docs/admin-api/graphql/reference/customers/customer))
按ID返回客户资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的客户的ID。

customerPaymentMethod([CustomerPaymentMethod](https://shopify.dev/docs/admin-api/graphql/reference/customers/customerpaymentmethod))
按ID返回CustomerPaymentMethod资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的CustomerPaymentMethod的ID。
showRevoked
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
是否显示客户被撤销的付款方式。
默认值:false

deliveryProfile([DeliveryProfile](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliveryprofile))
通过ID查找交货资料。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的DeliveryProfile的ID。

deliverySettings([DeliverySetting](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverysetting))
整个店铺的送货设置。

domain([Domain](https://shopify.dev/docs/admin-api/graphql/reference/online-store/domain))
通过ID查找域。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的域的ID。

draftOrder([DraftOrder](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftorder))
按ID返回DraftOrder资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的DraftOrder的ID。

fulfillment([Fulfillment](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillment))
按ID返回实现资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的实现的ID。

fulfillmentOrder([FulfillmentOrder](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentorder))
按ID返回履行订单资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的FulfillmentOrder的ID。

fulfillmentService([FulfillmentService](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentservice))
按ID返回FulfillmentService资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的FulfillmentService的ID。

inventoryItem([InventoryItem](https://shopify.dev/docs/admin-api/graphql/reference/inventory/inventoryitem))
按ID返回InventoryItem资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的InventoryItem的ID。

inventoryLevel([InventoryLevel](https://shopify.dev/docs/admin-api/graphql/reference/inventory/inventorylevel))
按ID返回一个InventoryLevel资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的InventoryLevel的ID。

job([Job](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/job))
按ID返回作业资源。用于检查内部作业的状态和任何适用的更改。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要查询的作业的ID。

location([Location](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/location))
按ID返回库存位置资源。

参数 描述
id
() [ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
要返回的位置的ID。如果没有提供ID,则返回商店的主要位置。

marketingActivity([MarketingActivity](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingactivity))
通过ID返回MarketingActivity资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的MarketingActivity的ID。

marketingEvent([MarketingEvent](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingevent))
按ID返回MarketingEvent资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的MarketingEvent的ID。

metafieldStorefrontVisibility([MetafieldStorefrontVisibility](https://shopify.dev/docs/admin-api/graphql/reference/metafields/metafieldstorefrontvisibility))
按ID返回元字段店面可见性。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的MetafieldStorefrontVisibility的ID。

node([Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node))
通过ID返回特定的节点。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的节点的ID。

nodes (个[[Node]!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node))
返回具有给定ID的节点列表。

参数 描述
ids
() [[ID!]!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的节点的ID。

order ([Order](https://shopify.dev/docs/admin-api/graphql/reference/orders/order))
按ID返回Order资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的订单的ID。

priceRule([PriceRule](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricerule))
通过ID查找价格规则。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的PriceRule的ID。

privateMetafield([PrivateMetafield](https://shopify.dev/docs/admin-api/graphql/reference/metafields/privatemetafield))
按ID返回私有元字段。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的PrivateMetafield的ID。

product([Product](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/product))
按ID返回产品资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的产品的ID。

productByHandle([Product](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/product))
通过手柄返回产品。

参数 描述
handle
() [String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)

必需的
产品的手柄。

productVariant([ProductVariant](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/productvariant))
按ID返回ProductVariant资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的ProductVariant的ID。

publicApiVersions([[ApiVersion!]!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/apiversion))
公用Admin API版本的列表,包括受支持的,候选发布版本和不稳定版本。

publication([Publication](https://shopify.dev/docs/admin-api/graphql/reference/apps/publication))
通过ID查找发布。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的发布ID。

refund([Refund](https://shopify.dev/docs/admin-api/graphql/reference/orders/refund))
按ID返回退款资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要退还的退款ID。

scriptTag([ScriptTag](https://shopify.dev/docs/admin-api/graphql/reference/online-store/scripttag))
通过ID查找脚本标签资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的ScriptTag的ID。

sellingPlanGroup([SellingPlanGroup](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplangroup))
按ID返回销售计划组资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的SellingPlanGroup的ID。

shop ([Shop!](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/shop))
返回与请求中使用的访问令牌相对应的Shop资源。

shopLocales([[ShopLocale!]!](https://shopify.dev/docs/admin-api/graphql/reference/translations/shoplocale))
商店中可用的语言环境列表。

参数 描述
published
() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
仅返回已发布的语言环境。

subscriptionBillingAttemp**t**([SubscriptionBillingAttempt](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptionbillingattempt))
返回ID的SubscriptionBillingAttempt。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
返回的SubscriptionBillingAttempt的ID。

subscriptionContract([SubscriptionContract](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptioncontract))
按ID返回订阅合同资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的订阅合约的ID。

subscriptionDraft([SubscriptionDraft](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondraft))
按ID返回订阅草稿资源。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的订阅草稿的ID。

translatableResourc**e**([TranslatableResource](https://shopify.dev/docs/admin-api/graphql/reference/translations/translatableresource))
可翻译资源。

参数 描述
resourceId
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
通过ID查找可翻译资源。

webhookSubscription([WebhookSubscription](https://shopify.dev/docs/admin-api/graphql/reference/events/webhooksubscription))
通过ID返回Webhook订阅。

参数 描述
id
() [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

必需的
要返回的WebhookSubscription的ID。