Update appointment

Update appointment's date, time, notes, description and practitioner

post-api /appointments/{appointment_id}/update

https://api.oauth.pabau.com/{api_key}/appointments/{appointment_id}/update

Request

Query Parameters:  
api_key *  
appointment_id *  System ID of the appointment
user_id System ID of the user
start_time Appointment Start Time in format Y-m-d H:i:s
end_time Appointment End Time in format Y-m-d H:i:s (cannot be lower or equal to Start Time)
note String
service_id System ID of the service (user_id is mandatory with this field)
status Booking status, same as it is in Pabau. You may use some of the default ones, or your company custom created statuses.
Default: Waiting, Arrived, Complete, No Show, Running Late

When the status of an appointment is updated to 'Complete' and if feedback survey is enabled, a feedback survey will be automatically sent to the client.

When the status of an appointment is updated to 'Cancel' and if 'cancel sms notify' and 'cancel email notify' are enabled, a cancellation email and SMS will be automatically sent to the client.
When the status of an appointment is updated to 'No Show' and if 'no show sms notify' and 'no show email notify' are enabled, a "no show" appointment email and SMS will be automatically sent to the client.

Response sample

application/json

{
  "success": true,
  "message": "Appointment updated successfully"
}