DiscountEvents
Lists events related to discount creation, modification, or deletion, providing an audit trail for discount activities.
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 DiscountEvents WHERE HostId = 'Val1'
Columns
| Name | Type | References | Description |
| Id [KEY] | String | A globally unique identifier for the discount event record. | |
| HostId | String | A globally unique identifier for the host system or app associated with the event. | |
| AppTitle | String | The name of the app that triggered or recorded the discount event. | |
| AttributeToApp | Bool | Indicates whether the event was initiated automatically by an app. | |
| AttributeToUser | Bool | Indicates whether the event was performed manually by a store admin user. | |
| CreatedAt | Datetime | The date and time when the discount event was created in the system. | |
| CriticalAlert | Bool | Indicates whether the event represents a critical action or alert that may require attention. | |
| Action | String | Specifies the type of action that occurred, such as creating, modifying, or deleting a discount. | |
| Message | String | A human-readable description summarizing the discount event. | |
| BasicEventSubjectId | String | The unique identifier of the primary resource (such as a discount or order) that generated the event. | |
| BasicEventSubjectType | String | The type of resource that generated the event, such as a discount, order, or customer. | |
| BasicEventHasAdditionalContent | Bool | Indicates whether the event contains extended details or supporting content. | |
| BasicEventAdditionalContent | String | Provides any supplemental content associated with the event, often used in expanded timeline views. | |
| BasicEventAdditionalData | String | Stores key-value data elements that provide structured context for the event. | |
| BasicEventSecondaryMessage | String | Additional descriptive text that supports or clarifies the main event message. | |
| BasicEventArguments | String | Lists event-specific parameters or identifiers for the resources affected by this discount event. | |
| CommentEventAuthorId | String | The unique identifier of the staff member who authored the related comment or note. | |
| CommentEventCanDelete | Bool | Indicates whether the related comment event can be deleted by the user or system. | |
| CommentEventCanEdit | Bool | Indicates whether the related comment event can be edited by the user or system. | |
| CommentEventEdited | Bool | Specifies whether the related comment event has been modified after creation. | |
| CommentEventRawMessage | String | Contains the raw or unformatted text of the comment event message. | |
| CommentEventSubjectId | String | The unique identifier of the parent subject (such as a discount record) that the comment event belongs to. | |
| CommentEventSubjectHasTimelineComment | Bool | Indicates whether the parent record includes a timeline comment associated with the event. | |
| CommentEventEmbedCustomerId | String | References a customer entity linked to this discount event, if applicable. | |
| CommentEventEmbedDraftOrderId | String | References a draft order entity related to this discount event, if applicable. | |
| CommentEventEmbedOrderId | String | References a finalized order associated with the discount event, if applicable. | |
| CommentEventEmbedProductId | String | References the product associated with the discount event, if applicable. | |
| CommentEventEmbedProductVariantId | String | References the specific product variant involved in the discount event, if applicable. |