curl --request GET \
--url https://channels-service-alpha.fourvenues.com/ticket-rates \
--header 'X-Api-Key: <api-key>'{
"data": [
{
"organization_id": "abcdefghi1234567890",
"event_id": "abcdefghi1234567890",
"name": "General Access",
"slug": "general-access",
"valid_from": "2022-01-01T00:00:00.000Z",
"complete": false,
"type": "limited",
"prices": [
{
"price": 12,
"valid_until": "2022-01-01T00:00:00.000Z",
"quantity": 0,
"includes": "1 Drink",
"additional_info": "Only valid before 2:00 am.",
"_id": "1643064796675",
"name": "Early Bird",
"fee_type": "percentage",
"fee_quantity": 10
}
],
"supplements": [
{
"_id": "1643064796675",
"label": "1 Copa",
"price": 12,
"has_fake_price": false,
"fake_price": 15
}
],
"available": true,
"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"
]
}
],
"_id": "abcdefghi1234567890",
"show_all_prices": true,
"current_price": {
"price": 12,
"valid_until": "2022-01-01T00:00:00.000Z",
"quantity": 0,
"includes": "1 Drink",
"additional_info": "Only valid before 2:00 am.",
"_id": "1643064796675",
"name": "Early Bird",
"fee_type": "percentage",
"fee_quantity": 10
},
"warranty": {
"enabled": true,
"percentage": 20,
"hours": 12
}
}
],
"success": true
}Get all ticket rates
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/ticket-rates \
--header 'X-Api-Key: <api-key>'{
"data": [
{
"organization_id": "abcdefghi1234567890",
"event_id": "abcdefghi1234567890",
"name": "General Access",
"slug": "general-access",
"valid_from": "2022-01-01T00:00:00.000Z",
"complete": false,
"type": "limited",
"prices": [
{
"price": 12,
"valid_until": "2022-01-01T00:00:00.000Z",
"quantity": 0,
"includes": "1 Drink",
"additional_info": "Only valid before 2:00 am.",
"_id": "1643064796675",
"name": "Early Bird",
"fee_type": "percentage",
"fee_quantity": 10
}
],
"supplements": [
{
"_id": "1643064796675",
"label": "1 Copa",
"price": 12,
"has_fake_price": false,
"fake_price": 15
}
],
"available": true,
"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"
]
}
],
"_id": "abcdefghi1234567890",
"show_all_prices": true,
"current_price": {
"price": 12,
"valid_until": "2022-01-01T00:00:00.000Z",
"quantity": 0,
"includes": "1 Drink",
"additional_info": "Only valid before 2:00 am.",
"_id": "1643064796675",
"name": "Early Bird",
"fee_type": "percentage",
"fee_quantity": 10
},
"warranty": {
"enabled": true,
"percentage": 20,
"hours": 12
}
}
],
"success": true
}Filter by event_id (comma separated list)
OK
Show child attributes
Ticket rate organization unique identifier.
"abcdefghi1234567890"
Event unique identifier.
"abcdefghi1234567890"
Name of the ticket rate.
"General Access"
Name URL-friendly identifier.
"general-access"
Date when the ticket rate will be available for sale.
"2022-01-01T00:00:00.000Z"
If the ticket rate is marked as complete.
false
limited, public "limited"
Prices of the ticket rate.
Show child attributes
Price of the ticket.
12
Date until the price will be available.
"2022-01-01T00:00:00.000Z"
Max number of tickets that can be purchased with this price.
NOTE: 0 means unlimited.
0
Content the price includes.
"1 Drink"
Additional info.
"Only valid before 2:00 am."
Unique identifier for the price.
"1643064796675"
Name of the price.
"Early Bird"
Type of the fee.
percentage, fixed "percentage"
Quantity of the fee.
10
Supplements of the ticket rate. Each supplement increases the price of the ticket.
Show child attributes
Unique identifier for the supplement.
"1643064796675"
Label of the supplement.
"1 Copa"
Price of the supplement.
12
If the supplement has a fake price.
false
Fake price of the supplement.
15
If the ticket rate is available.
true
Minimum number of tickets that can be purchased in a single order.
1
Maximum number of tickets that can be purchased in a single order.
10
Questions of the ticket rate.
Show child attributes
Unique identifier for the question.
"1643064796675"
Label of the question.
"¿How did you hear about us?"
text, dropdown "dropdown"
If the question is required.
true
Options of the question.
["Instagram", "Appear"]Ticket rate unique identifier.
"abcdefghi1234567890"
If the ticket rate is configured to show all prices.
true
Current price available of the ticket rate.
Show child attributes
Price of the ticket.
12
Date until the price will be available.
"2022-01-01T00:00:00.000Z"
Max number of tickets that can be purchased with this price.
NOTE: 0 means unlimited.
0
Content the price includes.
"1 Drink"
Additional info.
"Only valid before 2:00 am."
Unique identifier for the price.
"1643064796675"
Name of the price.
"Early Bird"
Type of the fee.
percentage, fixed "percentage"
Quantity of the fee.
10