curl --request GET \
--url https://channels-service-alpha.fourvenues.com/list-rates/{id} \
--header 'X-Api-Key: <api-key>'
{
"data": {
"_id": "abcdefghi1234567890",
"organization_id": "abcdefghi1234567890",
"event_id": "abcdefghi1234567890",
"name": "General Access",
"slug": "general-access",
"valid_from": "2022-01-01T00:00:00.000Z",
"valid_until": "2022-01-01T00:00:00.000Z",
"complete": false,
"type": "limited",
"prices": [
{
"_id": "1643064796675",
"price": 12,
"from": 14400,
"valid_from": "2022-01-01T00:00:00.000Z",
"valid_until": "2022-01-01T00:00:00.000Z",
"men": true,
"women": true,
"age": 18,
"additional_info": "Subject to capacity."
}
],
"available": true,
"availability": {
"sold": 10,
"available": 90
},
"max": 10
},
"success": true
}
Get list rate by id
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/list-rates/{id} \
--header 'X-Api-Key: <api-key>'
{
"data": {
"_id": "abcdefghi1234567890",
"organization_id": "abcdefghi1234567890",
"event_id": "abcdefghi1234567890",
"name": "General Access",
"slug": "general-access",
"valid_from": "2022-01-01T00:00:00.000Z",
"valid_until": "2022-01-01T00:00:00.000Z",
"complete": false,
"type": "limited",
"prices": [
{
"_id": "1643064796675",
"price": 12,
"from": 14400,
"valid_from": "2022-01-01T00:00:00.000Z",
"valid_until": "2022-01-01T00:00:00.000Z",
"men": true,
"women": true,
"age": 18,
"additional_info": "Subject to capacity."
}
],
"available": true,
"availability": {
"sold": 10,
"available": 90
},
"max": 10
},
"success": true
}
List rate id
OK
The response is of type object
.