stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > DeletionEvent

AdminTypes.DeletionEvent interface

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.

Signature:

export interface DeletionEvent 

Properties

Property Modifiers Type Description
occurredAt   Scalars[‘DateTime’][‘output’] The date and time when the deletion event for the related resource was generated.
subjectId   Scalars[‘ID’][‘output’] The ID of the resource that was deleted.
subjectType   DeletionEventSubjectType | `${DeletionEventSubjectType}` The type of resource that was deleted.