删除事件-DeletionEvent 对象
删除事件记录了对资源(例如产品和收藏品)的破坏。一旦删除,删除事件是原始文件存在的唯一痕迹,因为资源本身已被删除,无法再访问。
在本页面
字段
- 发生在(
[DateTime!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01)
)
生成相关资源的删除事件的日期和时间。 - subjectId(
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
)
被删除资源的ID。 - subjectType(
[DeletionEventSubjectType!](https://shopify.dev/docs/admin-api/graphql/reference/events/deletioneventsubjecttype)
)
删除的资源类型。
返回DeletionEvent的类型
[QueryRoot.deletionEvents](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#deletionevents-2021-01)