Introduction
API Reference
- Events
- Bookings
- Channels
- Lists
- Passes
- Subscriptions
- Tickets
- Users
- Payments
- Refunds
- Wallet Movement
Tickets
Get ticket by id
Get ticket by id.
GET
/
tickets
/
{ticketId}
curl --request GET \
--url https://api-alpha.fourvenues.com/integrations/tickets/{ticketId} \
--header 'integration_id: <api-key>' \
--header 'secret: <api-key>' \
--header 'x-api-key: <api-key>'
{
"success": true,
"data": {
"_id": "el7yuiyep0006msyw2pri1tem1LpJwSc",
"activation_date": "2022-09-15T23:00:00.000Z",
"channel_id": "ajifs2hke000dwemmurwd3kuqN3Kopcx",
"code": "P6J21FF2S",
"discount_quantity_subtract": 0,
"email": "my-client-email@fourvenues.com",
"gender": "female",
"address": "Calle de la Rosa 1",
"language": "es",
"country": "ES",
"postal_code": "28001",
"enter": 0,
"entry_date": 0,
"event_id": "Mjo4f9o9h01fdjvmmrgn9aoh4s5IBHzX",
"for": 1,
"name": "Miguel Román",
"payment_id": "Cl7yuiyhy0007msyw4vfl5ai6YF4WZRn",
"phone": "+34666666666",
"price": 10,
"raised": 0,
"rate_id": "Tl4gr63fr0xkr01i1gk354qbrSCMLTwl",
"rate_name": "General Access",
"rate_slug": "general-access",
"referral_id": "ñeifupjvx000rwe2m2zuba1z9FqyR2dSL",
"refunded": 0,
"sale_type": "online",
"price_info": {
"_id": "1712861139741",
"price": 10,
"age": 18,
"content": "",
"additional_info": ""
},
"supplements": [
{
"_id": "1712861146044",
"price": 2,
"label": "Bus",
"description": "Bus from the city center to the venue.",
"has_fake_price": false,
"fake_price": 0,
"product_quantity": 1,
"product_quantity_used": 1
}
],
"status": "activated",
"total_extras": 2,
"total_fees": 1.2,
"total_paid": 13.2,
"invoice_reference": "EV24T-TOX2-0000215",
"corrective_invoice_references": [
"EV24T-COR-H58Z-0000002",
"EV24T-COR-H58Z-0000003"
]
}
}
Authorizations
Identifier of the integration (Auth v1)
Secret of the organization (Auth v1)
API key (Auth v2)
Path Parameters
Query Parameters
Id of the ticket.
Response
200
application/json
HTTP OK
The response is of type object
.
curl --request GET \
--url https://api-alpha.fourvenues.com/integrations/tickets/{ticketId} \
--header 'integration_id: <api-key>' \
--header 'secret: <api-key>' \
--header 'x-api-key: <api-key>'
{
"success": true,
"data": {
"_id": "el7yuiyep0006msyw2pri1tem1LpJwSc",
"activation_date": "2022-09-15T23:00:00.000Z",
"channel_id": "ajifs2hke000dwemmurwd3kuqN3Kopcx",
"code": "P6J21FF2S",
"discount_quantity_subtract": 0,
"email": "my-client-email@fourvenues.com",
"gender": "female",
"address": "Calle de la Rosa 1",
"language": "es",
"country": "ES",
"postal_code": "28001",
"enter": 0,
"entry_date": 0,
"event_id": "Mjo4f9o9h01fdjvmmrgn9aoh4s5IBHzX",
"for": 1,
"name": "Miguel Román",
"payment_id": "Cl7yuiyhy0007msyw4vfl5ai6YF4WZRn",
"phone": "+34666666666",
"price": 10,
"raised": 0,
"rate_id": "Tl4gr63fr0xkr01i1gk354qbrSCMLTwl",
"rate_name": "General Access",
"rate_slug": "general-access",
"referral_id": "ñeifupjvx000rwe2m2zuba1z9FqyR2dSL",
"refunded": 0,
"sale_type": "online",
"price_info": {
"_id": "1712861139741",
"price": 10,
"age": 18,
"content": "",
"additional_info": ""
},
"supplements": [
{
"_id": "1712861146044",
"price": 2,
"label": "Bus",
"description": "Bus from the city center to the venue.",
"has_fake_price": false,
"fake_price": 0,
"product_quantity": 1,
"product_quantity_used": 1
}
],
"status": "activated",
"total_extras": 2,
"total_fees": 1.2,
"total_paid": 13.2,
"invoice_reference": "EV24T-TOX2-0000215",
"corrective_invoice_references": [
"EV24T-COR-H58Z-0000002",
"EV24T-COR-H58Z-0000003"
]
}
}