Update Service Appointments
Show your users the details of a service appointment—an appointment modified through Salesforce Scheduler—so that users can review and update the appointment.
-
Create a page where the user can review the appointment details and update the appointment.
Here’s how a Review Service Appointment page can look.

-
Make a
PATCHrequest to theservice-appointmentsConnect API to modify the service appointment.Resource URI
Where
YOUR_INSTANCEis a variable.Sample Request
Specify the scheduling policy ID in which the shift is defined. Additionally, pass the parameters including the standard and custom fields that are not available in the input parameters list as extended fields. Edit access on these fields is required to update their values. For example, pass the
statusfield as extended fields with its value set toCanceledto indicate that the appointment is canceled.Update Service Resource and engagement channel type
Update Time Slot
Update Appointment Status
Sample Response
The API returns the service appointment ID and the assigned service resources.
-
Create a page to show confirmation when the service appointment is modified successfully.
Here’s how a sample confirmation page can look.
