put https://acuityscheduling.com/api/v1/appointments//reschedule
Reschedule an appointment.
Reschedule an appointment to a different date or calendar. Or both!
To reschedule to an overlapping time, get availability using the ignoreAppointmentIDs[]
argument for /availability/times with the current appointment's ID.
Reschedule as an Admin
admin=true
By default appointments are reschedule as if by a client. Rescheduling as an admin disables availability validations. To reschedule as an admin pass the query parameter
admin=true
.
No Email
Skip sending the rescheduling e-mail and SMS by rescheduling the appointment with the noEmail=true
query parameter.
Errors
Availability errors return a 400
error response:
{
"status_code": 400,
"message": "Class series may not be rescheduled.",
"error": "reschedule_series"
}
Error | Message |
---|---|
reschedule_not_allowed | Clients are not allowed to reschedule. |
reschedule_too_close | Clients are not allowed to reschedule this close to the time of the appointment. |
reschedule_series | Class series may not be rescheduled. |
reschedule_canceled | Canceled appointments may not be rescheduled. |
invalid_calendar | The calendar "987654321" does not exist. |
required_datetime | The parameter "datetime" is required. |
invalid_timezone | Invalid timezone "Aint/No_Timezone". |
invalid_datetime | The datetime "asdf" is invalid. |
not_available_min_hours_in_advance | The time "2016-01-05T16:00:00-0800" is not far enough in advance. |
not_available_max_days_in_advance | The time "2017-02-07T16:00:00" is too far in advance. |
not_available | The time "2016-03-08T05:00:00-0800" is not an available time slot. |