Get Invoice Event Attendee Line
Returns the EventAttendee record linked to a specific invoice line. This endpoint is used to enrich invoice lines that originate from an event ticket purchase, providing event name, product pricing, and attendee details.
Authentication
This endpoint requires an authenticated customer session.
Path Parameters
The unique identifier of the parent invoice.
The UniqueId of the event attendee record associated with the invoice line. Available on the invoice line as EventAttendeeUniqueId.
Query Parameters
Comma-separated list of field paths to include in the response. When provided, only the
specified fields are returned — useful for reducing payload size. Supports nested paths
using dot notation. Example: _shape=Attendee.FullName,Attendee.EventProductName,Attendee.CalendarEvent.Name.
Response
Returns an EventAttendee object.
ID of the calendar event the attendee signed up for.
ID of the event product (ticket type) purchased.
Full name of the attendee.
Email address of the attendee.
Display name of the event.
Name of the ticket type or event product purchased.
Price of the event product as a formatted string.
ISO 4217 currency code for the event product price.
ID of the customer who purchased the ticket (if applicable).
Full name of the customer (if applicable).
Invoice number associated with the purchase (if applicable).
Whether the associated invoice has been paid (if applicable).
Globally unique identifier for the attendee record.
Example Response
{
"CalendarEventId": 201,
"EventProductId": 55,
"FullName": "Jane Smith",
"Email": "jane.smith@example.com",
"CalendarEventName": "Monthly Networking Meetup",
"EventProductName": "General Admission",
"EventProductPrice": "$25.00",
"EventProductCurrencyCode": "USD",
"CoworkerId": 987,
"CoworkerFullName": "Jane Smith",
"CoworkerInvoiceNumber": "INV-2025-000124",
"CoworkerInvoicePaid": "false",
"UniqueId": "f1e2d3c4-b5a6-7890-cdef-1234567890ab"
}
Usage in Portal
Used to render event/ticket details in invoice line rows within the basket and invoice summary.
- File:
src/components/Basket/invoiceLines/EventAttendeeInvoiceLineRow.tsx
Typical integration pattern
// From src/api/endpoints.ts
// endpoints.billing.invoices.attendee = (invoiceId: number, attendeeUniqueId: string) => ({
// url: `/api/public/billing/invoices/${invoiceId}/attendees/${attendeeUniqueId}`,
// type: null as unknown as EventAttendee,
// })
// Usage in React
const endpoint = endpoints.billing.invoices.attendee(invoice.Id, line.EventAttendeeUniqueId)
const { resource: attendee } = useData<typeof endpoint.type>(httpClient, endpoint.url)
GET /api/public/billing/invoices/{invoiceId} – Get full invoice details
GET /api/public/events/{id} – Get event details
Error Responses
The current user is not authenticated or does not have access to this invoice.
The invoice or attendee record does not exist.