事件记录连接器-HasEvents interface
连接到兼容主机上的事件记录的连接器。
参数
- 活动(
[EventConnection!](https://shopify.dev/docs/admin-api/graphql/reference/events/eventconnection))
与主持人主题相关的事件的分页列表。
| 争论 | 描述 |
|---|---|
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) |
支持的过滤器参数: + comments+ created_at+ subject_type+ verb有关使用过滤器的更多信息,请参见详细的搜索语法。 |
reverse() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01) |
颠倒基础列表的顺序。 默认值: false |
sortKey() [EventSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/events/eventsortkeys) |
按给定键对基础列表进行排序。 默认值: ID |
实现HasEvents的类型
[Customer](https://shopify.dev/docs/admin-api/graphql/reference/customers/customer)[DiscountAutomaticBxgy](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountautomaticbxgy)[DiscountAutomaticNode](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountautomaticnode)[DiscountCodeNode](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodenode)[DraftOrder](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftorder)[Order](https://shopify.dev/docs/admin-api/graphql/reference/orders/order)[PriceRule](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricerule)
