Event Types

Update an event type

Partially updates an event type. Only provided fields are changed. Returns the full updated event type. Returns 409 if the new slug conflicts with an existing one.

patch/v1/event-types/{id}

Request

  • Base URL: https://api.astrocal.dev
  • URL: https://api.astrocal.dev/v1/event-types/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

titlestring
descriptionstring
duration_minutesinteger
buffer_before_minutesinteger
buffer_after_minutesinteger
minimum_notice_minutesinteger
colorstring
activeboolean
assignment_strategy'none' | 'round_robin' | 'least_recent' | 'least_bookings' | 'availability_weighted'
price_amountinteger nullable
price_currencystring
reminder_intervalsinteger[]
duration_optionsinteger[] nullable
max_attendeesinteger
booking_capinteger nullable
booking_cap_period'daily' | 'weekly' | 'monthly' | 'total' | 'null' nullable
waitlist_enabledboolean
waitlist_maxinteger
waitlist_ttl_daysinteger
booking_page_enabledboolean
conferencing_provider'zoom' | 'google_meet' | 'microsoft_teams' | 'custom' | 'in_person' | 'null' nullable
custom_meeting_urlstring uri nullable
locationstring nullable

Response

Event type updated

idstring uuid required
organization_idstring uuid required
titlestring required
slugstring required
descriptionstring nullable required
duration_minutesinteger required
buffer_before_minutesinteger required
buffer_after_minutesinteger required
minimum_notice_minutesinteger required
colorstring required
timezonestring required
activeboolean required
is_testboolean required
price_amountinteger nullable required
price_currencystring required
reminder_intervalsinteger[] required
duration_optionsinteger[] nullable required
max_attendeesinteger required
assignment_strategy'none' | 'round_robin' | 'least_recent' | 'least_bookings' | 'availability_weighted' required
booking_capinteger nullable required
booking_cap_period'daily' | 'weekly' | 'monthly' | 'total' | 'null' nullable required
bookings_remaininginteger nullable required
booking_countinteger required
waitlist_enabledboolean required
waitlist_maxinteger required
waitlist_ttl_daysinteger required
booking_page_enabledboolean required
conferencing_providerstring nullable required
custom_meeting_urlstring nullable required
locationstring nullable required
created_atstring required
updated_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.