Deletion Event
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.
Anchor to FieldsFields
- Anchor to occurredAtoccurred•Date
At Time! non-null The date and time when the deletion event for the related resource was generated.
- Anchor to subjectIdsubject•ID!
Id non-null The ID of the resource that was deleted.
- Anchor to subjectTypesubject•Deletion
Type Event Subject Type! non-null The type of resource that was deleted.
Anchor to QueriesQueries
- •queryDeprecated
- Anchor to subjectTypessubject•[Deletion
Types Event Subject Type!] List of subject types to filter by.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Deletion
Key Event Sort Keys 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.
- Anchor to queryquery•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.
Arguments