Count of events. Limited to a maximum of 10000.


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.


Was this section helpful?

Details for count of elements.


Was this section helpful?

Examples

Hide code
DescriptionCopy
query {
  eventsCount(query: "created_at:>=2024-01-01") {
    count
    precision
  }
}
Hide code
Response
JSON
{
  "eventsCount": {
    "count": 28,
    "precision": "EXACT"
  }
}