Get Ticket Holder Details
This page will walk you through the entire process of getting ticket holder details.
Following are steps we need to follow to get holder details
Step | Description | API reference |
---|---|---|
Host Setup for Buyer and Holder Data | Setting up Enable/disable functionality for buyer and holder data collection | Setup For Buyer and Holder Data |
Get Order Data | Get Ticket order data for your event | Get Order Data |
Get Holder Details | Get holder details with all required data | Get Holder Details |
1.Host Setup for Buyer and Holder Data
Whenever any attendee purchases a ticket they will have options to enter ticket buyer data and ticket holder data, and that is based on configuration done on the host side.
We can set which data we want to collect at ticket purchase time, that we can configure from the following API
Buyer and holder data setting API
- If we want to collect only Buyer data need to pass holderAttribute=false
- if we want to collect Both Buyer and holder data need to pass holderAttribute=true
2.Get order data
We can get all ticket orders data for an event by the following API. This API will return a list of order data like orderId, cardType, orderType, deliveryMode, totalAmount, purchaseDate, status, note, and many more.
3.Get holder details
We need to use the following values to get holder details
- Event URL : URL of event of which we want to get holder details.
- Ticket ID : which we can get from orders data from the previous step.
Below is the Success Response for above API
{
"attributes": [
{
"defaultValue": "string",
"eventTicketTypeId": "string",
"mandatory": false,
"name": "string",
"type": "string",
"value": "string"
}
],
"eventKey": "string",
"eventTicketingId": 0,
"questions": [
{
"defaultValue": "string",
"eventTicketTypeId": "string",
"mandatory": false,
"name": "string",
"type": "string",
"value": "string"
}
],
"nestedQuestions": [
{
"defaultValue": "string",
"eventTicketTypeId": "string",
"id": 0,
"mandatory": false,
"name": "string",
"parentQueId": 0,
"position": 0,
"selectedAnsId": 0,
"type": "string",
"value": "string"
}
],
"seatNumber": "string"
}
Updated about 2 years ago