HasEvents interface
Connector to event records on a compatible host.
Fields
events ([EventConnection!](https://shopify.dev/docs/admin-api/graphql/reference/events/eventconnection))
The paginated list of events associated with the host subject.
| Argument | Description |
|---|---|
after( [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)) |
Returns the elements that come after the specified cursor. |
before( [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)) |
Returns the elements that come before the specified cursor. |
first( [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)) |
Returns up to the first n elements from the list. |
last( [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)) |
Returns up to the last n elements from the list. |
query( [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)) |
Supported filter parameters: + comments+ created_at+ subject_type+ verbSee the detailed search syntax for more information about using filters. |
reverse( [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)) |
Reverse the order of the underlying list. Default value: false |
sortKey( [EventSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/events/eventsortkeys)) |
Sort the underlying list by the given key. Default value: ID |
Types that implement 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)
