ticket.updated
Triggered when a ticket's attendee details (name, email, answers or review) or its metadata change after the booking. Not sent for check-ins or cancels (see ticket.canceled). Deliveries can arrive out of order: compare updatedAt.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
- sellerIdstringrequired
Unique identifier. Must be in BSON ObjectId format.
^[0-9a-fA-F]{24}$
- timestampstringrequired
date-time
- eventIdstringrequired
Unique identifier for idempotency
- eventstringrequired
ticket.updated A single admission ticket held by one attendee, created when an event booking is paid. Read-only.
- idstringrequired
Unique identifier for the ticket.
^[0-9a-fA-F]{24}$
- sellerIdstringrequired
Id of the seller account the ticket belongs to.
^[0-9a-fA-F]{24}$
- bookingIdstringrequired
Id of the booking (Charge) this ticket was created from. A booking of three tickets produces three ticket records sharing one
bookingId. Retrieve it with the bookings endpoint.^[0-9a-fA-F]{24}$
- orderIdstringrequired
Human-readable order reference shared by every ticket in the same booking. Shown to the customer on receipts and tickets.
- pageIdstringrequired
Id of the event page the ticket was purchased from.
^[0-9a-fA-F]{24}$
- ticketTypeIdstringrequired
Id of the ticket type purchased (e.g. General Admission, VIP). Ticket types belong to a ticket group on the event.
^[0-9a-fA-F]{24}$
- originalPricenumberrequired
Price of the ticket before any discounts, coupons, taxes or fees, in the smallest currency unit (e.g. cents).
- pricingstring
Pricing model of the ticket type at the time of purchase.
paidis a fixed price,pwywmeans the buyer chose the amount,freeis a zero-price ticket. Absent on tickets created before this field existed.paidpwywfree - discountAmountnumberrequired
Bulk discount allocated to this ticket, in the smallest currency unit. Booking-level discounts are apportioned across the tickets in the booking.
- feeAmountnumberrequired
Booking fees allocated to this ticket, in the smallest currency unit. Booking-level fees are apportioned across the tickets in the booking.
- taxAmountnumberrequired
Tax allocated to this ticket, in the smallest currency unit. Booking-level tax is apportioned across the tickets in the booking.
- couponAmountnumberrequired
Coupon discount allocated to this ticket, in the smallest currency unit. Booking-level coupon discounts are apportioned across the tickets in the booking.
- complimentaryAmountnumber, nullable
Face value and booking fee forgone on a complimentary booking, in the smallest currency unit. 0 otherwise.
- revenuenumberrequired
Revenue attributed to this ticket, in the smallest currency unit:
originalPrice - discountAmount - couponAmount - complimentaryAmount + taxAmount + feeAmount. Use this rather than summing the parts yourself. - currencystring
Lowercase ISO 4217 currency code for every amount on the ticket (e.g. "usd").
- customerIdstringrequired
Id of the customer who booked the ticket.
^[0-9a-fA-F]{24}$
- ticketShortIdstringrequired
Short uppercase alphanumeric code identifying the ticket (e.g. "A1B2C3D4"). Printed on the ticket and quoted by guests at the door — search on it to find a specific attendee.
- checkInCodestringrequired
Check-in credential for this ticket. Encode it as a QR code for the Checkout Page check-in scanner, or post it to the ticket validation endpoint, to admit the guest. Treat the value as opaque - its format may change.
- statusstringrequired
Lifecycle state of the ticket.
PAIDis valid for admission,CANCELEDwas canceled by the seller and must not be admitted. A refund alone never cancels a ticket.PAIDCANCELED Full check-in history, oldest first. Empty when the guest has never been checked in. A guest checked in and back out again has multiple entries.
Most recent entry from
checkIns, denormalised for filtering. Absent when the guest has never been checked in — treat that as not checked in.- attendeeNamestring
Attendee name held on the ticket, shown on the ticket PDF and the guest list. Set from the purchaser at booking time; editable via the ticket update endpoint.
- attendeeEmailstringrequired
Attendee email held on the ticket. The ticket is delivered here. Set from the purchaser at booking time; editable via the ticket update endpoint.
The attendee's answers to the event's attendee questions and whether they were flagged for review, on events that collect attendee details. Absent until there is an answer or a flag. The attendee's name and email are
attendeeNameandattendeeEmail.- livemodebooleanrequired
Whether the ticket came from a live payment. Test-mode tickets are never returned by the seller API.
- orderedAtstringrequired
ISO-8601 UTC timestamp the booking was placed. Matches across every ticket in the same booking.
date-time
- canceledAtstring
ISO-8601 UTC timestamp the ticket was canceled. Absent while the ticket is valid.
date-time
- cancelReasonstring
Why the seller canceled this ticket. Set only when the ticket was canceled on its own: when the whole booking is canceled, the reason is kept on the booking.
- canceledBystring
ID of the dashboard user who canceled this ticket. Set only when the ticket was canceled on its own.
Custom key/value entries attached to the ticket, typically written by door staff during check-in. Maximum 20 entries.
- createdAtstringrequired
ISO-8601 UTC timestamp the ticket record was created.
date-time
- updatedAtstringrequired
ISO-8601 UTC timestamp the ticket record was last updated.
date-time
- idstringrequired
Response Body
Example payload
{
"sellerId": "65f4a1c2e4a9f3d2b1c0a9e8",
"timestamp": "2019-08-24T14:15:22Z",
"eventId": "string",
"event": "ticket.updated",
"data": {
"ticket": {
"id": "65f4a1c2e4a9f3d2b1c0a9e8",
"sellerId": "65f4a1c2e4a9f3d2b1c0a9e8",
"bookingId": "65f4a1c2e4a9f3d2b1c0a9e8",
"orderId": "string",
"pageId": "65f4a1c2e4a9f3d2b1c0a9e8",
"ticketTypeId": "65f4a1c2e4a9f3d2b1c0a9e8",
"originalPrice": 0,
"discountAmount": 0,
"feeAmount": 0,
"taxAmount": 0,
"couponAmount": 0,
"revenue": 0,
"customerId": "65f4a1c2e4a9f3d2b1c0a9e8",
"ticketShortId": "string",
"checkInCode": "string",
"status": "PAID",
"checkIns": [
{
"status": "UNCHECKEDIN",
"method": "QRSCAN",
"checkedInBy": "65f4a1c2e4a9f3d2b1c0a9e8",
"checkedInAt": "2019-08-24T14:15:22Z"
}
],
"attendeeEmail": "string",
"livemode": true,
"orderedAt": "2019-08-24T14:15:22Z",
"metadata": [
{
"key": "string",
"value": "string",
"addedAt": "2019-08-24T14:15:22Z"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}
}