# Update Service Appointments

A service appointment represents an appointment booked through Salesforce Scheduler. Make a PATCH request on the `service-appointments` Connect API to update a multi-resource service appointment.

Create a page where the user can review the appointment details and create the appointment. Here’s how a Review Service Appointment page can look.

![A representation of the Review Service Appointment screen.](https://a.sfdcstatic.com/developer-website/sfdocs/service-cloud/media/salesforce-scheduler-dev-guide/screen_review_appointment.png)

Link the Next button to a PATCH request on the [`service-appointments`](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_service_appointments.htm) Connect API to update the service appointment.

**Resource URI**

```nolang
https://YOUR_INSTANCE.salesforce.com/services/data/vXX.X/connect/scheduling/service-appointments
```

Where `YOUR_INSTANCE` is a variable.

**Sample Request**

**Update Service Resource**

```nolang
{
  "serviceAppointmentId": "08pB0000000aJKhIAM",
  "serviceAppointment": {
    "schedStartTime": "2021-10-04T17:00:00.000+0000",
    "schedEndTime": "2021-10-04T18:00:00.000+0000",
    "serviceTerritoryId": "0HhB0000000TaHOKA0"
  },
  "assignedResources": [
    {
      "serviceResourceId": "0HnB0000000TavDKAS",
      "isRequiredResource": true,
      "isPrimaryResource": true
    },
    {
      "serviceResourceId": "0HnB0000000DynTKAS",
      "isRequiredResource": true,
      "isPrimaryResource": false
    }
  ]
}
```

Create a page to show confirmation when the service appointment is modified successfully.

Here’s how a sample confirmation page can look.

![A representation of the confirmation screen.](https://a.sfdcstatic.com/developer-website/sfdocs/service-cloud/media/salesforce-scheduler-dev-guide/screen_appointment_creation.png)
