30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Get Sales Summary

tickets/get-sales-summary reports what has sold for a post: totals per ticket, and an estimated revenue figure.

Aggregate only. No purchaser names, no emails, nothing about any individual buyer.

At a glance

Abilitytickets/get-sales-summary
ToolsetEvent Tickets — toolset/event-tickets
GroupEvent Tickets › Orders
RequiresEvent Tickets, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

Revenue here is current price multiplied by quantity sold. It is not read from the payment ledger.

So if a ticket was £30 for the first forty buyers and £25 after an early-bird window closed, this reports all sixty at whatever the price is today. The number is useful for “roughly how are we doing” and wrong for accounting.

For the actual money, tickets/list-orders reports each order’s recorded total as the gateway charged it.

Input

NameTypeRequiredWhat it is
post_idintegerYesThe event, page or other ticketed post.

What comes back

NameTypeWhat it is
salesobjectQuantity sold per ticket and an estimated revenue total.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

How are ticket sales going for this event?

It resolves to one call:

{
  "ability": "tickets/get-sales-summary",
  "parameters": {
    "post_id": 412
  }
}

Worth knowing

  • The revenue figure is an estimate from current prices. Do not reconcile books against it.
  • No purchaser data at all, so it is safe to share.
  • For real totals, read the orders.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading