Types and Subtypes
Learn to fetch details for types and subtypes using the Discovery API.
We'll cover the following...
Type details
Alongside segments, types are also top-level classifications for entities. They represent a type or a group of people. We can use the Discovery API's types endpoint to fetch details for a specified type.
The URL for this endpoint is:
https://app.ticketmaster.com/discovery/v2/classifications/types/{id}
Here, {id} is the ID of the type we want to fetch details for. 
Request parameters
Apart from this URL parameter, we can provide a couple of optional query parameters. The table below gives an overview of each of these parameters:
Parameter  | Type  | Category  | Description  | 
  | string  | required  | This is the ID of the type we want the details for.  | 
  | string  | optional  | This is the locale in ISO code format. Multiple comma-separated values can be provided. When omitting the country part of the code (only   | 
  | array[string]  | optional  | If provided, the results are filtered on the domain they are available on.  | 
A list of a few types and their IDs is given below. Let's try to make a call to this endpoint using the IDs from the following table:
Type  | ID  | 
Individual  | KZAyXgnZfZ7v7la  | 
Group  | KZAyXgnZfZ7v7l1  | 
Donation  | KZAyXgnZfZ7vAvv  | 
Let's replace the value of the typeId variable on  ...