Calendar

Create Customer Availability

Create a new default availability rule for the current customer.

  • day_of_week: Day of the week (monday, tuesday, etc.)
  • start_time: Start time (e.g., "09:00:00")
  • end_time: End time (e.g., "17:00:00")

Multiple availability rules can exist for the same day to represent split schedules.

post/calendars/customer-availability

Request body

day_of_week'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday' required

Day of week enum

start_timestring time required
end_timestring time required

Response

Successful Response

availability_idstring uuid required
customer_idstring uuid required
day_of_week'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday' required

Day of week enum

start_timestring time required
end_timestring time required

Changes