Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Statistics → Create Statistics Query
AI-generatedSummary
Builds an Orderly StatisticsQuery protobuf JSON object for use with List Stats. You can set an account, comma-separated statistic type IDs, a start time, and an increment; advanced fields are merged first, then these common fields are applied.
Inputs
- Account ID JSON — An AccountId object; defaults from the incoming item’s
AccountIdproperty. An empty object omits the account filter. - Statistic Type IDs — Comma-separated StatisticId values. Each trimmed, non-empty value becomes an entry in the query’s
Typeslist. - From — Start time for the statistics query, passed as the
Fromfield when non-empty. - Increment — Time grouping interval: Unknown, Hourly, Daily, Weekly, Monthly, or Yearly. Defaults to Daily and is passed as
Increment. - Additional Query JSON — A JSON object of advanced query fields. The configured account, types, from, and increment fields are applied afterward and take precedence over matching fields.
Output shape
A single StatisticsQuery object per input item.
The object is normalized through the Orderly protobuf schema, which may omit unset fields and ignore unknown fields. If Continue On Fail is enabled, an item error is returned as `{ "error": "…" }.