Event Ticket Sales Report

Event Ticket Sales Report

The event sales report API allows you to view event ticket sales information.

Event ticket sale properties

AttributeTypeDescription
total_salesstringTotal sale amount.
net_salesstringNet sales amount.
average_salesstringAverage sales amount.
total_ordersstringTotal orders.
total_itemsstringTotal items.
total_taxstringTotal tax amount.
total_shippingstringTotal shipping charge.
total_refundsintegerTotal number of refunds.
total_discountstringTotal discount amount.
totals_grouped_bystringReport type.
total_tickets_salesobjectTotal ticket sale data.
totalsobjectData of report based on date

 

Event ticket sale – Total Tickets Sales properties

 

AttributeTypeDescription
Ticket idintegerWill return total no. of ticket sale

 

Event ticket sale – Totals properties

 

AttributeTypeDescription
salesstringTotal sales amount
ordersintegerTotal no. of orders
itemsintegerTotal no. of items
taxstringTotal tax amount
shippingstringTotal shipping amount
discountstringTotal discount amount
customersintegerTotal no. of customers

Get Event ticket sales report

This API helps you to get event ticket sales reports.

HTTP request
Method : GET
URL : /wp-json/wpem/reports/sales

Available parameters

AttributeTypeDescription
periodstringDefault would be “month”(day, week, month). Based on this you will get a daily, weekly or monthly report.
event_idstringEvent Id(To get a particular event sales report).
date_mindateMin date to get a report.
date_maxdateMax date to get a report.
grouped_bystringUsed to get reports based on a group by query. Default would be “month”(day, week, month). 
    • Related Articles

    • Event Tickets

      The event ticket API allows you to view event ticket information. Event ticket properties Attribute Type Description Permission id integer Unique identifier for the object. READ-ONLY name string Event ticket name. MANDATORY slug string Event ticket ...
    • Event Orders

      The event orders API allows you to view particular event orders information. Order properties Attribute Type Description Permission id integer Unique identifier for the object. READ-ONLY parent_id integer Parent order ID. number string Order number. ...
    • Events

      The events API allows you to view and delete individual, or a batch, of events. Event properties Attribute Type Description Permission id int Unique identifier for the object. READ-ONLY name string Event name. MANDATORY slug string Event slug. ...
    • Scan QRCode

      The scan QRCode API allows you to scan QRCode of tickets of attendees. Scan QRCode properties Attribute Type Description Permission message string Message for attendee ticket scan READ-ONLY event_title string Event name. attendee_name string Attendee ...
    • Attendee

      The attendee API allows you to view, checkin, checkout and delete an individual, or a batch, of attendee. Attendee properties Attribute Type Description Permission id integer Unique identifier for the object. READ-ONLY name string Attendee name. ...