List Ticket Buyer IDs
Returns the list of ticket buyer IDs for your company account.
Each ticket buyer ID is a UUID, a universally unique identifier.
Note
You need to authenticate with your company admin key for this API call.
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
GET https://api-{region}.seatsio.net/ticket-buyers
$paginator = $seatsioClient->ticketBuyers->listAll();
foreach ($paginator as $ticketBuyerId) {
echo $ticketBuyerId;
}
await foreach (var ticketBuyerId in Client.TicketBuyers.ListAllAsync()) {
Console.WriteLine(ticketBuyerId);
}
Stream<UUID> ticketBuyerIds = client.ticketBuyers.listAll();
ticketBuyerIds.forEach(System.out::println);
ticket_buyer_ids = list(client.ticket_buyers.list_all())
for ticket_buyer_id in ticket_buyer_ids:
print(ticket_buyer_id)
ticket_buyer_ids = client.ticket_buyers.list_all
ticket_buyer_ids.each { |id| puts id }
const ticketBuyerIds = await client.ticketBuyers.listAll();
for (const id of ticketBuyerIds) {
console.log(id);
}
ticketBuyerIds, err := client.TicketBuyers.ListAll()
for _, id := range ticketBuyerIds {
fmt.Println(id)
}
Note
The maximum number of ticket buyer ID's that can be retrieved in a single request is 1000. The serverside SDKs will automatically paginate the results for you, so you can iterate through all IDs without worrying about the limit.