事件-Event interface

事件记录了资源活动,例如商品的创建,订单的履行或产品的添加。


领域

  • appTitle[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    创建事件的应用程序的名称。当事件源自Shopify管理员时,返回null。
  • attributeToApp[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
    事件是否由应用创建。
  • attributeToUser[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
    事件是否由管理员用户引起。
  • createdAt[DateTime!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01)
    创建事件的日期和时间。
  • criticalAlert[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
    事件是否紧急。
  • id([ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
    全局唯一标识符。
  • message[FormattedString!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#formattedstring-2021-01)
    描述事件的可读文本。


实现事件的类型

  • [BasicEvent](https://shopify.dev/docs/admin-api/graphql/reference/events/basicevent)
  • [CommentEvent](https://shopify.dev/docs/admin-api/graphql/reference/events/commentevent)