The Appointment Booking Settings object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: 1
Default: 60
Default: false
Default: 7
Default: false
{
"id": "appointment-booking-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"number_of_agents": 1,
"holiday_list": "holiday_list_example",
"appointment_duration": 60,
"email_reminders": false,
"advance_booking_days": 7,
"enable_scheduling": false,
"success_redirect_url": "success_redirect_url_example"
} /api/crm/appointment-booking-settings Retrieve appointment booking settings
Retrieves the current appointment booking settings. This is a singleton resource.
Returns
Returns the appointment booking settings object.
curl https://api.overplane.dev/api/crm/appointment-booking-settings \
-H "Authorization: Bearer sk_test_..." {
"id": "appointment-booking-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"number_of_agents": 1,
"holiday_list": "holiday_list_example",
"appointment_duration": 60,
"email_reminders": false,
"advance_booking_days": 7,
"enable_scheduling": false,
"success_redirect_url": "success_redirect_url_example"
} /api/crm/appointment-booking-settings/{id} Update a appointment booking settings
Updates the specified appointment booking settings by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the appointment booking settings to update.
Body parameters
Default: 1
Default: 60
Default: false
Default: 7
Default: false
Returns
Returns the updated appointment booking settings object.
curl https://api.overplane.dev/api/crm/appointment-booking-settings/appointment-booking-settings_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"number_of_agents":1,"holiday_list":"holiday_list_example"}' {
"id": "appointment-booking-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"number_of_agents": 1,
"holiday_list": "holiday_list_example",
"appointment_duration": 60,
"email_reminders": false,
"advance_booking_days": 7,
"enable_scheduling": false,
"success_redirect_url": "success_redirect_url_example"
} Line items
Child objects that belong to this appointment booking settings. These are accessed via the parent's ID.
Appointment Booking Slots
Attributes
Endpoints
/api/crm/appointment-booking-slots?parent_id={id} /api/crm/appointment-booking-slots /api/crm/appointment-booking-slots/{id} /api/crm/appointment-booking-slots/{id} /api/crm/appointment-booking-slots/reorder {
"id": "appointment-booking-slots_abc123",
"idx": 1,
"appointment_booking_settings_id": "appointment_booking_settings_id_example",
"day_of_week": "day_of_week_example",
"from_time": "from_time_example",
"to_time": "to_time_example"
}