DeletionEvent

Required access

read_products access scope

Deletion events chronicle the destruction of resources (e.g. products and collections). Once deleted, the deletion event is the only trace of the original's existence, as the resource itself has been removed and can no longer be accessed.

Show definition
# Deletion events chronicle the destruction of resources (e.g. products and collections).
# Once deleted, the deletion event is the only trace of the original's existence,
# as the resource itself has been removed and can no longer be accessed.
type DeletionEvent {
  # The date and time when the deletion event for the related resource was generated.
  occurredAt: DateTime!

  # The id of the resource that was deleted.
  subjectId: ID!

  # The type of resource that was deleted.
  subjectType: DeletionEventSubjectType!
}

Fields

occurredAt   (DateTime!)

The date and time when the deletion event for the related resource was generated.

subjectId   (ID!)

The id of the resource that was deleted.

subjectType   (DeletionEventSubjectType!)

The type of resource that was deleted.