DraftOrderEvents
Tracks events associated with draft orders, such as creation, edits, and completion.
View-Specific Information
Select
The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.
- HostId supports the '=, IN' comparison operators.
For example, the following query is processed server-side:
SELECT * FROM DraftOrderEvents WHERE HostId = 'Val1'
Columns
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the draft order event record. | |
| HostId | String |
DraftOrders.Id | A globally unique identifier representing the system or host that originated the event. |
| AppTitle | String | The name of the app that generated or triggered the event associated with the draft order. | |
| AttributeToApp | Bool | Indicates whether the event was created automatically by an app integration rather than a user. | |
| AttributeToUser | Bool | Indicates whether the event was triggered by an admin user action within the Shopify admin. | |
| CreatedAt | Datetime | The date and time when the event occurred or was logged in the system. | |
| CriticalAlert | Bool | Specifies whether this event represents a critical issue or requires urgent attention. | |
| Action | String | The type of action performed, such as creation, update, deletion, or status change of the draft order. | |
| Message | String | A human-readable message describing the event and its context in the draft order timeline. | |
| BasicEventSubjectId | String | The unique identifier of the primary resource (such as a draft order) associated with the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, for example, 'DraftOrder' or 'Customer'. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event contains additional contextual information or related data. | |
| BasicEventAdditionalContent | String | Provides supplementary content displayed in expandable sections of the event timeline. | |
| BasicEventAdditionalData | String | Holds structured or metadata information useful for event consumers and integrations. | |
| BasicEventSecondaryMessage | String | A supporting message providing extra explanation or context for the main event message. | |
| BasicEventArguments | String | Lists specific parameters or references related to the event and its associated resources. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored or added a comment related to this event. | |
| CommentEventCanDelete | Bool | Indicates whether the associated comment event can be deleted. Returns true if deletable. | |
| CommentEventCanEdit | Bool | Indicates whether the associated comment event can be edited. Returns true if editable. | |
| CommentEventEdited | Bool | Specifies whether the comment event has been modified after its original creation. | |
| CommentEventRawMessage | String | The unformatted or raw text content of the comment attached to the event. | |
| CommentEventSubjectId | String | The identifier of the parent record (for example, the draft order) that the comment event is linked to. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the timeline entry includes a comment. Returns true if a comment is present. | |
| CommentEventEmbedCustomerId | String | References the related customer object tied to the comment event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | References the related draft order object tied to the comment event, if applicable. | |
| CommentEventEmbedOrderId | String | References the associated order object connected to the comment event, if applicable. | |
| CommentEventEmbedProductId | String | References the associated product object mentioned in the comment event, if applicable. | |
| CommentEventEmbedProductVariantId | String | References the related product variant object mentioned in the comment event, if applicable. |