PPylon Developers
ApiOrder Administration

Get order statistics

Returns aggregated order statistics for an event including total orders, revenue, and refunds.

GET
/api/v1/events/{eventId}/orders/statistics
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

eventId*string
Formatuuid

Response Body

application/json

application/json

application/problem+json

curl -X GET "https://loading/api/v1/events/497f6eca-6276-4993-bfeb-53cbbbba6f08/orders/statistics"
{
  "totalOrders": 0,
  "confirmedOrders": 0,
  "totalRevenue": 0.1,
  "refundedAmount": 0.1,
  "averageOrderValue": 0.1,
  "currency": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}