Fever FeverZone API
These endpoints provide an interface to extract the data available in FeverZone reports. The delay of the data is less than 15 minutes from reality. The route `/feverzone/sales-by-reseller` allows the user to get a sales summary by reseller and can be aggregated by venues/ticket types. ## Model documentation #### Sales This endpoint returns a summary of the sales, aligned with FeverZone Sales Summary report. It allows to filter by `plan_ids`, `purchase_date` and `event_date`, and also specify the `currency` of the report. 📄 /feverzone/sales-summary response entity model | Column Name | Description | Example value | |------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------| | `currency` | ISO3 currency of the order monetary field. | EUR | | `orders` | Metric representing the number of unique transactions (count) made, where each order may include multiple tickets and add-ons. | 100 | | `tickets_sold` | Metric representing the number (sum) of entry tickets sold, excluding any complimentary tickets issued (invitations) and add-ons. This value shows the total number of entry tickets, representing the primary sales volume. | 200 | | `addons_sold` | Metric representing the number (sum) of add-ons sold, excluding complimentary invitations. Indicates the total number of add-ons purchased. | 50 | | `ticket_invitations` | Metric representing the number (sum) of complimentary tickets issued at no charge for the user. Issuing invitations may have fees. | 10 | | `addons_invitations` | Metric representing the number (sum) of complimentary add-ons issued at no charge. Issuing add-ons may have fees. | 5 | | `ticket_gross_revenue` | Metric representing the revenue generated exclusively from the sale of entry tickets. It's the sum of `tickets_sold` multiplied by their ticket price. It shows the financial contribution of ticket sales to the total revenue. | 1200.00 | | `addon_gross_revenue` | Metric representing the revenue generated from the sale of additional items or services, such as merchandise or premium experiences (a.k.a. add-ons). It's the sum of `addons_sold` multiplied by their add-on price. It indicates the contribution of supplementary products or services to total revenue. | 356.34 | | `total_gross_revenue` | Metric representing the total amount of revenue generated from ticket sales and add-ons, including surcharge, and before any discounts are applied. It equals to `ticket_gross_revenue` + `addon_gross_revenue` + `surcharge`. Indicates the overall financial performance, showing the total revenue collected from sales and additional charges before considering any discounts. | 1556.34 | | `ticket_surcharge` | Metric representing the surcharges applied specifically to entry ticket sales. It's the sum of `tickets_sold` multiplied by their surcharge per ticket. It provides details on the extra fees associated with entry ticket purchases. | 56.34 | | `addon_surcharge` | Metric representing the surcharges applied specifically to add-ons. It's the sum of `addons_sold` multiplied by their surcharge per add-on. It shows the extra fees collected from add-on purchases. | 0.00 | | `surcharge` | Metric representing the sum of additional booking fees applied to the order at checkout. It's the sum of `ticket_surcharge` and `addon_surcharge`. It represents extra charges collected. | 56.34 | | `discount` | Metric representing the total value of all discounts applied through promo codes or special offers. It's the sum of all discounts applied, and it's represented with a negative value. It indicates the amount of revenue that has been reduced due to promotional efforts. | -100.00 | | `user_payment` | Metric representing the total revenue collected after discounts. It is computed as the `total_gross_revenue` + `discounts`. It reflects actual revenue paid by customers. | 1456.34 | 📄 /feverzone/sales-by-ticket-type response entity model | Column Name | Description | Example value | |------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------| | `currency` | ISO3 currency of the order monetary field. | EUR | | `ticket_type` | Type of ticket sold. | Adult | | `tickets_sold` | Metric representing the number (sum) of entry tickets sold, excluding any complimentary tickets issued (invitations) and add-ons. This value shows the total number of entry tickets, representing the primary sales volume. | 200 | | `addons_sold` | Metric representing the number (sum) of add-ons sold, excluding complimentary invitations. Indicates the total number of add-ons purchased. | 50 | | `ticket_invitations` | Metric representing the number (sum) of complimentary tickets issued at no charge for the user. Issuing invitations may have fees. | 10 | | `addons_invitations` | Metric representing the number (sum) of complimentary add-ons issued at no charge. Issuing add-ons may have fees. | 5 | | `ticket_gross_revenue` | Metric representing the revenue generated exclusively from the sale of entry tickets. It's the sum of `tickets_sold` multiplied by their ticket price. It shows the financial contribution of ticket sales to the total revenue. | 1200.00 | | `addon_gross_revenue` | Metric representing the revenue generated from the sale of additional items or services, such as merchandise or premium experiences (a.k.a. add-ons). It's the sum of `addons_sold` multiplied by their add-on price. It indicates the contribution of supplementary products or services to total revenue. | 356.34 | | `total_gross_revenue` | Metric representing the total amount of revenue generated from ticket sales and add-ons, including surcharge, and before any discounts are applied. It equals to `ticket_gross_revenue` + `addon_gross_revenue` + `surcharge`. Indicates the overall financial performance, showing the total revenue collected from sales and additional charges before considering any discounts. | 1556.34 | | `ticket_surcharge` | Metric representing the surcharges applied specifically to entry ticket sales. It's the sum of `tickets_sold` multiplied by their surcharge per ticket. It provides details on the extra fees associated with entry ticket purchases. | 56.34 | | `addon_surcharge` | Metric representing the surcharges applied specifically to add-ons. It's the sum of `addons_sold` multiplied by their surcharge per add-on. It shows the extra fees collected from add-on purchases. | 0.00 | | `surcharge` | Metric representing the sum of additional booking fees applied to the order at checkout. It's the sum of `ticket_surcharge` and `addon_surcharge`. It represents extra charges collected. | 56.34 | | `discount` | Metric representing the total value of all discounts applied through promo codes or special offers. It's the sum of all discounts applied, and it's represented with a negative value. It indicates the amount of revenue that has been reduced due to promotional efforts. | -100.00 | | `user_payment` | Metric representing the total revenue collected after discounts. It is computed as the `total_gross_revenue` + `discounts`. It reflects actual revenue paid by customers. | 1456.34 | 📄 /feverzone/sales-by-reseller response entity model | Column Name | Description | Example value | |--------------------------------|----------------------------------------------------------------|--------------------------------------| | `reseller.id` | ID of the reseller | 607f50e3-666f-4b2e-9620-38aabf6d9m10 | | `reseller.name` | Name of the reseller | Reseller name | | `reseller.email` | Email of the reseller | test@reseller.com | | `reseller.type` | Type of reseller | AGENCY | | `reseller.contact_language` | Language that the reseller uses for communications | es_ES | | `reseller.accepts_comms` | If reseller accepts communications or not | YES | | `ticket_type` | Ticket type by reseller | Agencia \| Tarifa Básica | | `venue_name` | Venue name by reseller | Palacio Real de Madrid | | `tickets_sold` | Tickets sold by reseller and aggregated dimensions applicable | 1000 | | `gross_revenue` | Gross revenue by reseller and aggregated dimensions applicable | 10000 |
POST
/feverzone/sales-summary/search
Request FeverZone sales summary report
#
GET
/feverzone/sales-summary/search/{search_id}
Get FeverZone sales summary report
#
POST
/feverzone/sales-by-ticket-type/search
Request FeverZone sales by ticket type report
#
GET
/feverzone/sales-by-ticket-type/search/{search_id}
Get FeverZone sales by ticket type report
#
POST
/feverzone/sales-by-reseller/search
Request resellers
#
GET
/feverzone/sales-by-reseller/search/{search_id}
Get sales by reseller
#
Documentation
Specifications
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/fever-feverzone-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fever - Reporting Fever Zone API
description: Access detailed event sales data through a reliable REST API.
contact:
name: Support
email: data-support@feverup.com
version: 1.5.0
x-logo:
url: https://res.cloudinary.com/fever/image/upload/ar_16:9,c_mpad,w_425/web/fever-logo-dark.jpg
servers:
- url: /v1
tags:
- name: FeverZone
description: These endpoints provide an interface to extract the data available in FeverZone reports.
paths:
/feverzone/sales-summary/search:
post:
tags:
- FeverZone
summary: Request FeverZone sales summary report
description: Create a request to get a new FeverZone sales summary report within the given time range.The field plan_ids can be used to include only certain plans in the report.If empty, the sales summary report will refer to all plans.The search will be processed asynchronously, being able to fetch the result from the provided search ID
operationId: search_sales_summary_feverzone_sales_summary_search_post
security:
- OAuth2PasswordBearer: []
parameters:
- name: user-id-to-impersonate
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: User id from the user that you want to impersonate
title: User-Id-To-Impersonate
description: User id from the user that you want to impersonate
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SalesSummaryParams'
responses:
'202':
description: Request was created successfully but is still running asynchronously.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchStatus'
'408':
description: Request Timeout
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: The request timed out. Please try again later
example: The request timed out. Please try again later
title: Detail
type: string
title: RequestTimeoutError
type: object
'429':
description: Too Many Requests
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: Server is busy. Please retry your query later
example: Server is busy. Please retry your query later
title: Detail
type: string
title: ServerBusyError
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: An internal server error occurred. Please try again later
example: An internal server error occurred. Please try again later
title: Detail
type: string
title: InternalServerError
type: object
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-codeSamples:
- lang: bash
source: "\ncurl -X POST \"https://<HOSTNAME>/v1/feverzone/sales-summary/search\" \\\n-H \"Content-Type: application/json\" \\\n-d '{\n \"currency\": \"USD\",\n \"plan_ids\": [\n 123,\n 456\n ],\n \"event_start_date_local_from\": \"2024-12-01 00:00\",\n \"event_start_date_local_to\": \"2024-12-31 00:00\",\n \"purchase_date_local_from\": \"2024-12-01 00:00\",\n \"purchase_date_local_to\": \"2024-12-31 00:00\"\n}' \\\n-H \"Authorization: Bearer <YOUR_ACCESS_TOKEN>\"\n "
label: curl
- lang: python
source: "\nimport requests\n\nhostname = \"<HOSTNAME>\"\nusername = \"<USERNAME>\"\npassword = \"<PASSWORD>\"\n\naccess_token = requests.post(f\"https://{hostname}/v1/auth/token\", data={\"username\": username, \"password\": password}).json()[\"access_token\"]\n\nrequests.post(f\"https://{hostname}/v1/feverzone/sales-summary/search\",\n json={\n \"currency\": \"USD\",\n \"plan_ids\": [\n 123,\n 456\n ],\n \"event_start_date_local_from\": \"2024-12-01 00:00\",\n \"event_start_date_local_to\": \"2024-12-31 00:00\",\n \"purchase_date_local_from\": \"2024-12-01 00:00\",\n \"purchase_date_local_to\": \"2024-12-31 00:00\"\n},\n headers={\"Authorization\": f\"Bearer {access_token}\"}\n)\n"
label: Python
/feverzone/sales-summary/search/{search_id}:
get:
tags:
- FeverZone
summary: Get FeverZone sales summary report
description: Get an existing FeverZone sales summary report from `search_id`, allowing to pass a specific `page` number. In case the search is still processing, it will return a `202` status code and you should retry it again until it is ready. Otherwise, it will return a `200` code and the report outputNotice that the `partition_info` metadata is only returned when `page=0`, being `null` for the rest of the pages
operationId: get_search_sales_summary_page_feverzone_sales_summary_search__search_id__get
security:
- OAuth2PasswordBearer: []
parameters:
- name: search_id
in: path
required: true
schema:
type: string
format: uuid
title: Search Id
- name: page
in: query
required: false
schema:
type: integer
default: 0
title: Page
- name: user-id-to-impersonate
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: User id from the user that you want to impersonate
title: User-Id-To-Impersonate
description: User id from the user that you want to impersonate
responses:
'200':
description: Search was obtained successfully
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/Search_SalesSummary_SalesSummaryParams_-Output'
- $ref: '#/components/schemas/SearchStatus'
title: Response Get Search Sales Summary Page Feverzone Sales Summary Search Search Id Get
$ref: '#/components/schemas/Search_SalesSummary_SalesSummaryParams_-Input'
'202':
description: Request is still running asynchronously.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchStatus'
'403':
description: Forbidden
content:
application/json:
schema:
oneOf:
- properties:
detail:
example: 'User test@example.com is not allowed to access the following fields: ''forbidden_field_1'', ''forbidden_field_2'''
title: Detail
type: string
required:
- detail
title: ForbiddenAccessToFieldError
type: object
'404':
description: Not Found
content:
application/json:
schema:
oneOf:
- properties:
detail:
example: Search 01b571aa-0203-e36d-0000-0d3758abb35d not found.
title: Detail
type: string
required:
- detail
title: SearchIdNotFoundError
type: object
'400':
description: Bad Request
content:
application/json:
schema:
oneOf:
- properties:
detail:
example: Search ID 1234 is not valid
title: Detail
type: string
required:
- detail
title: InvalidSearchIdError
type: object
- properties:
detail:
example: Invalid partition parameter. The partition must be long type parsable and between 0 and 1, but 2 is specified.
title: Detail
type: string
required:
- detail
title: InvalidPageIdError
type: object
- properties:
detail:
example: Response is too large. Please apply filters to reduce its size.
title: Detail
type: string
required:
- detail
title: ResponseTooLargeError
type: object
'408':
description: Request Timeout
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: The request timed out. Please try again later
example: The request timed out. Please try again later
title: Detail
type: string
title: RequestTimeoutError
type: object
'410':
description: Search expired
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: Search expired. Please create a new one
example: Search expired. Please create a new one
title: Detail
type: string
title: SearchExpiredError
type: object
'429':
description: Too Many Requests
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: Server is busy. Please retry your query later
example: Server is busy. Please retry your query later
title: Detail
type: string
title: ServerBusyError
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: An internal server error occurred. Please try again later
example: An internal server error occurred. Please try again later
title: Detail
type: string
title: InternalServerError
type: object
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-codeSamples:
- lang: bash
source: '
curl -X GET "https://<HOSTNAME>/v1/feverzone/sales-summary/search/<SEARCH_ID>?page=0" \
-H "Authorization: Bearer <YOUR_ACCESS_TOKEN>"
'
label: curl
- lang: python
source: "\nimport requests\n\nhostname = \"<HOSTNAME>\"\nusername = \"<USERNAME>\"\npassword = \"<PASSWORD>\"\n\naccess_token = requests.post(f\"https://{hostname}/v1/auth/token\", data={\"username\": username, \"password\": password}).json()[\"access_token\"]\n\nrequests.get(f\"https://{hostname}/v1/feverzone/sales-summary/search/<SEARCH_ID>\",\n params={'page': 0},\n headers={\"Authorization\": f\"Bearer {access_token}\"}\n)\n"
label: Python
/feverzone/sales-by-ticket-type/search:
post:
tags:
- FeverZone
summary: Request FeverZone sales by ticket type report
description: Create a request to get a new FeverZone sales by ticket type report within the given time range.The field plan_ids can be used to include only certain plans in the report.If empty, the sales by ticket type report will refer to all plans.The search will be processed asynchronously, being able to fetch the result from the provided search ID
operationId: search_sales_by_ticket_type_feverzone_sales_by_ticket_type_search_post
security:
- OAuth2PasswordBearer: []
parameters:
- name: user-id-to-impersonate
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: User id from the user that you want to impersonate
title: User-Id-To-Impersonate
description: User id from the user that you want to impersonate
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SalesByTicketTypeParams'
responses:
'202':
description: Request was created successfully but is still running asynchronously.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchStatus'
'408':
description: Request Timeout
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: The request timed out. Please try again later
example: The request timed out. Please try again later
title: Detail
type: string
title: RequestTimeoutError
type: object
'429':
description: Too Many Requests
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: Server is busy. Please retry your query later
example: Server is busy. Please retry your query later
title: Detail
type: string
title: ServerBusyError
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: An internal server error occurred. Please try again later
example: An internal server error occurred. Please try again later
title: Detail
type: string
title: InternalServerError
type: object
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-codeSamples:
- lang: bash
source: "\ncurl -X POST \"https://<HOSTNAME>/v1/feverzone/sales-by-ticket-type/search\" \\\n-H \"Content-Type: application/json\" \\\n-d '{\n \"currency\": \"USD\",\n \"plan_ids\": [\n 123,\n 456\n ],\n \"event_start_date_local_from\": \"2024-12-01 00:00\",\n \"event_start_date_local_to\": \"2024-12-31 00:00\",\n \"purchase_date_local_from\": \"2024-12-01 00:00\",\n \"purchase_date_local_to\": \"2024-12-31 00:00\"\n}' \\\n-H \"Authorization: Bearer <YOUR_ACCESS_TOKEN>\"\n "
label: curl
- lang: python
source: "\nimport requests\n\nhostname = \"<HOSTNAME>\"\nusername = \"<USERNAME>\"\npassword = \"<PASSWORD>\"\n\naccess_token = requests.post(f\"https://{hostname}/v1/auth/token\", data={\"username\": username, \"password\": password}).json()[\"access_token\"]\n\nrequests.post(f\"https://{hostname}/v1/feverzone/sales-by-ticket-type/search\",\n json={\n \"currency\": \"USD\",\n \"plan_ids\": [\n 123,\n 456\n ],\n \"event_start_date_local_from\": \"2024-12-01 00:00\",\n \"event_start_date_local_to\": \"2024-12-31 00:00\",\n \"purchase_date_local_from\": \"2024-12-01 00:00\",\n \"purchase_date_local_to\": \"2024-12-31 00:00\"\n},\n headers={\"Authorization\": f\"Bearer {access_token}\"}\n)\n"
label: Python
/feverzone/sales-by-ticket-type/search/{search_id}:
get:
tags:
- FeverZone
summary: Get FeverZone sales by ticket type report
description: Get an existing FeverZone sales by ticket type report from `search_id`, allowing to pass a specific `page` number. In case the search is still processing, it will return a `202` status code and you should retry it again until it is ready. Otherwise, it will return a `200` code and the report outputNotice that the `partition_info` metadata is only returned when `page=0`, being `null` for the rest of the pages
operationId: get_search_sales_by_ticket_type_page_feverzone_sales_by_ticket_type_search__search_id__get
security:
- OAuth2PasswordBearer: []
parameters:
- name: search_id
in: path
required: true
schema:
type: string
format: uuid
title: Search Id
- name: page
in: query
required: false
schema:
type: integer
default: 0
title: Page
- name: user-id-to-impersonate
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: User id from the user that you want to impersonate
title: User-Id-To-Impersonate
description: User id from the user that you want to impersonate
responses:
'200':
description: Search was obtained successfully
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/Search_SalesByTicketType_SalesByTicketTypeParams_-Output'
- $ref: '#/components/schemas/SearchStatus'
title: Response Get Search Sales By Ticket Type Page Feverzone Sales By Ticket Type Search Search Id Get
$ref: '#/components/schemas/Search_SalesByTicketType_SalesByTicketTypeParams_-Input'
'202':
description: Request is still running asynchronously.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchStatus'
'403':
description: Forbidden
content:
application/json:
schema:
oneOf:
- properties:
detail:
example: 'User test@example.com is not allowed to access the following fields: ''forbidden_field_1'', ''forbidden_field_2'''
title: Detail
type: string
required:
- detail
title: ForbiddenAccessToFieldError
type: object
'404':
description: Not Found
content:
application/json:
schema:
oneOf:
- properties:
detail:
example: Search 01b571aa-0203-e36d-0000-0d3758abb35d not found.
title: Detail
type: string
required:
- detail
title: SearchIdNotFoundError
type: object
'400':
description: Bad Request
content:
application/json:
schema:
oneOf:
- properties:
detail:
example: Search ID 1234 is not valid
title: Detail
type: string
required:
- detail
title: InvalidSearchIdError
type: object
- properties:
detail:
example: Invalid partition parameter. The partition must be long type parsable and between 0 and 1, but 2 is specified.
title: Detail
type: string
required:
- detail
title: InvalidPageIdError
type: object
- properties:
detail:
example: Response is too large. Please apply filters to reduce its size.
title: Detail
type: string
required:
- detail
title: ResponseTooLargeError
type: object
'408':
description: Request Timeout
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: The request timed out. Please try again later
example: The request timed out. Please try again later
title: Detail
type: string
title: RequestTimeoutError
type: object
'410':
description: Search expired
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: Search expired. Please create a new one
example: Search expired. Please create a new one
title: Detail
type: string
title: SearchExpiredError
type: object
'429':
description: Too Many Requests
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: Server is busy. Please retry your query later
example: Server is busy. Please retry your query later
title: Detail
type: string
title: ServerBusyError
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: An internal server error occurred. Please try again later
example: An internal server error occurred. Please try again later
title: Detail
type: string
title: InternalServerError
type: object
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-codeSamples:
- lang: bash
source: '
curl -X GET "https://<HOSTNAME>/v1/feverzone/sales-by-ticket-type/search/<SEARCH_ID>?page=0" \
-H "Authorization: Bearer <YOUR_ACCESS_TOKEN>"
'
label: curl
- lang: python
source: "\nimport requests\n\nhostname = \"<HOSTNAME>\"\nusername = \"<USERNAME>\"\npassword = \"<PASSWORD>\"\n\naccess_token = requests.post(f\"https://{hostname}/v1/auth/token\", data={\"username\": username, \"password\": password}).json()[\"access_token\"]\n\nrequests.get(f\"https://{hostname}/v1/feverzone/sales-by-ticket-type/search/<SEARCH_ID>\",\n params={'page': 0},\n headers={\"Authorization\": f\"Bearer {access_token}\"}\n)\n"
label: Python
/feverzone/sales-by-reseller/search:
post:
tags:
- FeverZone
summary: Request resellers
description: Create a request to get resellers. The field reseller_ids can be used to filter the resellers by id.If empty, all resellers will be returned.The search will be processed asynchronously, being able to fetch the result from the provided search ID.
operationId: search_resellers_feverzone_sales_by_reseller_search_post
security:
- OAuth2PasswordBearer: []
parameters:
- name: user-id-to-impersonate
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: User id from the user that you want to impersonate
title: User-Id-To-Impersonate
description: User id from the user that you want to impersonate
requestBody:
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/SalesByResellerParams'
- type: 'null'
title: Config
responses:
'202':
description: Request was created successfully but is still running asynchronously.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchStatus'
'408':
description: Request Timeout
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: The request timed out. Please try again later
example: The request timed out. Please try again later
title: Detail
type: string
title: RequestTimeoutError
type: object
'429':
description: Too Many Requests
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: Server is busy. Please retry your query later
example: Server is busy. Please retry your query later
title: Detail
type: string
title: ServerBusyError
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: An internal server error occurred. Please try again later
example: An internal server error occurred. Please try again later
title: Detail
type: string
title: InternalServerError
type: object
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-codeSamples:
- lang: bash
source: "\ncurl -X POST \"https://<HOSTNAME>/v1/sales-by-reseller/search\" \\\n-H \"Content-Type: application/json\" \\\n-d '{\n \"reseller_ids\": [\n \"648ad7b3-8367-4074-b6a3-ee1cfbdcf475\",\n \"815904c9-5cca-914c-3f55-d59c5984711f\"\n ],\n \"group_by_dimensions\": [\n \"TICKET_TYPE\",\n \"VENUE\"\n ]\n}' \\\n-H \"Authorization: Bearer <YOUR_ACCESS_TOKEN>\"\n "
label: curl
- lang: python
source: "\nimport requests\n\nhostname = \"<HOSTNAME>\"\nusername = \"<USERNAME>\"\npassword = \"<PASSWORD>\"\n\naccess_token = requests.post(f\"https://{hostname}/v1/auth/token\", data={\"username\": username, \"password\": password}).json()[\"access_token\"]\n\nrequests.post(f\"https://{hostname}/v1/sales-by-reseller/search\",\n json={\n \"reseller_ids\": [\n \"648ad7b3-8367-4074-b6a3-ee1cfbdcf475\",\n \"815904c9-5cca-914c-3f55-d59c5984711f\"\n ],\n \"group_by_dimensions\": [\n \"TICKET_TYPE\",\n \"VENUE\"\n ]\n},\n headers={\"Authorization\": f\"Bearer {access_token}\"}\n)\n"
label: Python
/feverzone/sales-by-reseller/search/{search_id}:
get:
tags:
- FeverZone
summary: Get sales by reseller
description: Get resellers' sales aggregated from a search_id.
operationId: get_resellers_search_page_feverzone_sales_by_reseller_search__search_id__get
security:
- OAuth2PasswordBearer: []
parameters:
- name: search_id
in: path
required: true
schema:
type: string
format: uuid
title: Search Id
- name: page
in: query
required: false
schema:
type: integer
default: 0
title: Page
- name: user-id-to-impersonate
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: User id from the user that you want to impersonate
title: User-Id-To-Impersonate
description: User id from the user that you want to impersonate
responses:
'200':
description: Search was obtained successfully
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/Search_SalesByReseller_SalesByResellerParams_-Output'
- $ref: '#/components/schemas/SearchStatus'
title: Response Get Resellers Search Page Feverzone Sales By Reseller Search Search Id Get
$ref: '#/components/schemas/Search_SalesByReseller_SalesByResellerParams_-Input'
'202':
description: Request is still running asynchronously.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchStatus'
'404':
description: Not Found
content:
application/json:
schema:
oneOf:
- properties:
detail:
example: Search 01b571aa-0203-e36d-0000-0d3758abb35d not found.
title: Detail
type: string
required:
- detail
title: SearchIdNotFoundError
type: object
'400':
description: Bad Request
content:
application/json:
schema:
oneOf:
- properties:
detail:
example: Search ID 1234 is not valid
title: Detail
type: string
required:
- detail
title: InvalidSearchIdError
type: object
- properties:
detail:
example: Invalid partition parameter. The partition must be long type parsable and between 0 and 1, but 2 is specified.
title: Detail
type: string
required:
- detail
title: InvalidPageIdError
type: object
- properties:
detail:
example: Response is too large. Please apply filters to reduce its size.
title: Detail
type: string
required:
- detail
title: ResponseTooLargeError
type: object
'408':
description: Request Timeout
content:
application/json:
schema:
oneOf:
- properties:
detail:
default: The request timed out. Please try again later
example: The request timed out. Please try again later
title: Detail
type: string
title: RequestTimeoutError
type: object
'410':
description: Search expired
content:
application/json:
schema:
oneOf:
- properties:
# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/fever/refs/heads/main/openapi/fever-feverzone-api-openapi.yml