Revenue
Revenue analytics
Returns revenue totals, booking counts, weekly breakdown, harbor distribution, and day-of-week distribution for the specified period.
get/api/v1/revenue/stats
Request
- Base URL: http://localhost:3002
- URL: http://localhost:3002/api/v1/revenue/stats
- Auth: HTTP bearer
Query parameters
period'this-month' | 'last-30' | 'this-season' | 'this-year' | 'all-time'
Time period for analytics
Response
Revenue stats
Example response
{
"data": {
"dayData": [
{
"day": "Mon"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.