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

StepDescriptionAPI reference
Host Setup for Buyer and Holder DataSetting up Enable/disable functionality for buyer and holder data collectionSetup For Buyer and Holder Data
Get Order DataGet Ticket order data for your eventGet Order Data
Get Holder DetailsGet holder details with all required dataGet 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

  1. If we want to collect only Buyer data need to pass holderAttribute=false
  2. 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.

Get Orders

3.Get holder details

We need to use the following values to get holder details

  1. Event URL : URL of event of which we want to get holder details.
  2. 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"
}

Click here for more details