Skip to main content
object

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.

•DateTime!
non-null

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

•ID!
non-null

The ID of the resource that was deleted.

•DeletionEventSubjectType!
non-null

The type of resource that was deleted.

Show enum values

Was this section helpful?

•query
Deprecated
Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Show filters
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to occurred_at
•time
•Boolean
Default:false

Reverse the order of the underlying list.

•DeletionEventSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

Show enum values
•[DeletionEventSubjectType!]

List of subject types to filter by.

Show enum values


Was this section helpful?