Introduction
API Reference
- Auth
- Events
- ListRates
- Lists
- Locations
- Organizations
- Payments
- TicketRates
- Tickets
- Webhook Endpoints
Webhooks
- Introduction
- Events
TicketRates
Get ticket rate by slug
Get ticket rate by slug
GET
/
ticket-rates
/
by-slug
/
{slug}
Copy
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/ticket-rates/by-slug/{slug} \
--header 'X-Api-Key: <api-key>'
Copy
{
"data": {
"_id": "abcdefghi1234567890",
"organization_id": "abcdefghi1234567890",
"event_id": "abcdefghi1234567890",
"name": "General Access",
"slug": "general-access",
"valid_from": "2022-01-01T00:00:00.000Z",
"complete": false,
"type": "limited",
"show_all_prices": true,
"prices": [
{
"_id": "1643064796675",
"name": "Early Bird",
"price": 12,
"valid_until": "2022-01-01T00:00:00.000Z",
"quantity": 0,
"fee_type": "percentage",
"fee_quantity": 10,
"includes": "1 Drink",
"additional_info": "Only valid before 2:00 am."
}
],
"supplements": [
{
"_id": "1643064796675",
"label": "1 Copa",
"price": 12,
"has_fake_price": false,
"fake_price": 15
}
],
"available": true,
"current_price": {
"_id": "1643064796675",
"name": "Early Bird",
"price": 12,
"valid_until": "2022-01-01T00:00:00.000Z",
"quantity": 0,
"fee_type": "percentage",
"fee_quantity": 10,
"includes": "1 Drink",
"additional_info": "Only valid before 2:00 am."
},
"warranty": {
"enabled": true,
"percentage": 20,
"hours": 12
},
"availability": {
"sold": 10,
"available": 90
},
"min": 1,
"max": 10,
"questions": [
{
"_id": "1643064796675",
"label": "¿How did you hear about us?",
"type": "dropdown",
"required": true,
"items": [
"Instagram",
"Appear"
]
}
]
},
"success": true
}
Authorizations
Path Parameters
Ticket rate slug
Example:
"abcde12345"
Query Parameters
Event of the ticke rate
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/ticket-rates/by-slug/{slug} \
--header 'X-Api-Key: <api-key>'
Copy
{
"data": {
"_id": "abcdefghi1234567890",
"organization_id": "abcdefghi1234567890",
"event_id": "abcdefghi1234567890",
"name": "General Access",
"slug": "general-access",
"valid_from": "2022-01-01T00:00:00.000Z",
"complete": false,
"type": "limited",
"show_all_prices": true,
"prices": [
{
"_id": "1643064796675",
"name": "Early Bird",
"price": 12,
"valid_until": "2022-01-01T00:00:00.000Z",
"quantity": 0,
"fee_type": "percentage",
"fee_quantity": 10,
"includes": "1 Drink",
"additional_info": "Only valid before 2:00 am."
}
],
"supplements": [
{
"_id": "1643064796675",
"label": "1 Copa",
"price": 12,
"has_fake_price": false,
"fake_price": 15
}
],
"available": true,
"current_price": {
"_id": "1643064796675",
"name": "Early Bird",
"price": 12,
"valid_until": "2022-01-01T00:00:00.000Z",
"quantity": 0,
"fee_type": "percentage",
"fee_quantity": 10,
"includes": "1 Drink",
"additional_info": "Only valid before 2:00 am."
},
"warranty": {
"enabled": true,
"percentage": 20,
"hours": 12
},
"availability": {
"sold": 10,
"available": 90
},
"min": 1,
"max": 10,
"questions": [
{
"_id": "1643064796675",
"label": "¿How did you hear about us?",
"type": "dropdown",
"required": true,
"items": [
"Instagram",
"Appear"
]
}
]
},
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.