Skip to main content
const updated = await luma.events.ticketTypes.update("evt-abc123", "tkt-xyz789", {
  name: "Early bird",
});

console.log(updated.name);
{
  "api_id": "tkt-xyz789",
  "name": "Early bird",
  "type": "free",
  "is_hidden": false
}
SDK luma.events.ticketTypes.update(eventId: string, ticketTypeId: string, body: TicketTypeUpdateParams): Promise<TicketType> Updates an existing ticket type.
const updated = await luma.events.ticketTypes.update("evt-abc123", "tkt-xyz789", {
  name: "Early bird",
});

console.log(updated.name);
{
  "api_id": "tkt-xyz789",
  "name": "Early bird",
  "type": "free",
  "is_hidden": false
}

Parameters

eventId
string
required
Event api_id from events.list().
ticketTypeId
string
required
Ticket type api_id from events.ticketTypes.list() or events.ticketTypes.create().
body
TicketTypeUpdateParams
required
Fields to update. See the official Luma API docs for available fields.

Test it

Use an event and ticket type ID from your calendar:
const eventId = "evt-abc123";
const ticketTypeId = "tkt-xyz789";

const updated = await luma.events.ticketTypes.update(eventId, ticketTypeId, {
  name: "Updated via SDK",
});
console.log(updated.name);