example-data.com

tickets / #40

May
29
Thu

International Harvey Open

5:54 PM

Lompoc Amphitheater

From GBP678.35

Component variants

curl -sS \
  "https://example-data.com/api/v1/tickets/40" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/tickets/40"
);
const ticket = await res.json();
import type { Ticket } from "https://example-data.com/types/tickets.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/tickets/40"
);
const ticket = (await res.json()) as Ticket;
import requests

res = requests.get(
    "https://example-data.com/api/v1/tickets/40"
)
ticket = res.json()
{
  "id": 40,
  "eventName": "International Harvey Open",
  "venue": "Lompoc Amphitheater",
  "eventAt": "2025-05-29T17:54:08.950Z",
  "type": "balcony",
  "price": 678.35,
  "currency": "GBP",
  "sectionCode": "B1",
  "seatCode": "D9",
  "isSold": true,
  "createdAt": "2025-05-11T17:54:08.950Z"
}
Draftbit