Skip to main content

Update Availability Action

The Update Availability action modifies availability slot properties such as dates, capacity, and booking status.

Jerome Bajou avatar
Written by Jerome Bajou
Updated yesterday

Overview

The Update Availability action modifies availability slot properties such as dates, capacity, and booking status.


Configuration

Availability ID (Required)

The ID of the availability to update.

Updatable Fields

  • from - Start date/time

  • to - End date/time

  • is_bookable - Whether slot can be booked

  • capacity - Available capacity

  • notes - Notes about the slot

  • cut_off_time - Hours before start when booking closes


Output

Returns the updated availability object in the workflow context.


Examples

1. Update Capacity

Availability ID: {availability.id} 
Capacity: 25

2. Close a slot

Availability ID: {availability.id} 
Is Bookable: false

3. Update Dates

Availability ID: {availability.id} 
Start: 2024-12-25 11:00
End: 2024-12-25 13:00

Best Practices

  1. Verify availability exists - Check ID before updating

  2. Validate dates - Ensure end is after start

  3. Preserve data - Only update fields that need changing

  4. Handle conflicts - Check for existing bookings before changing dates


Related Documentation

Did this answer your question?