Anchor to EventFilterInputEvent
input_objectEvent Filter Input
Filter criteria for historical events.
Anchor to FieldsFields
- eventTypes ([EventType!])
- occurredAtMax (DateTime)
- occurredAtMin (DateTime)
- shopId (ID)
- subjectId (ID)
- subjectType (SubjectType)
- Anchor to eventTypesevent•[Event
Types Type!] Filter events by one or more event types.
- Anchor to occurredAtMaxoccurred•Date
At Max Time Filter events that occurred on or before this date. If only this is provided, occurred_at_min defaults to this date - 30 days. Defaults to now if neither date is provided. Maximum range between occurred_at_min and occurred_at_max is 365 days.
- Anchor to occurredAtMinoccurred•Date
At Min Time Filter events that occurred on or after this date. If only this is provided, occurred_at_max defaults to the earlier of this date + 30 days or now. Defaults to 30 days ago if neither date is provided. Maximum range between occurred_at_min and occurred_at_max is 365 days.
- Anchor to shopIdshop•ID
Id Filter events by shop ID. Example value:
.- Anchor to subjectIdsubject•ID
Id Filter events by subject ID. Example value:
.- Anchor to subjectTypesubject•Subject
Type Type Filter events by subject type (APP or THEME).
Was this section helpful?