Retrieves a summary of total ticket sales.
You can only call this method when authenticated as a Wix app or Wix user identity.
Event ID.
Ticket sales grouped by currency.
curl -X GET 'https://api.wix.com/events/v1/orders/summary?eventId=619d52c0-c93b-4155-a55c-108048f20b3f' \
-H 'Authorization: <AUTH TOKEN>'
{
"sales": [
{
"total": {
"amount": "14.00",
"currency": "EUR"
},
"totalOrders": 4,
"totalTickets": 8,
"revenue": {
"amount": "14.00",
"currency": "EUR"
}
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.