---
schema_version: "1"
id: 47224ca95d48347f2644d222a3767cbe3dd2a9e29402db04c257069db213eea2
title: Update Service Appointments
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/salesforce-scheduler-dev-guide/guides/salesforce-scheduler/uc7-update-service-appointment.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-scheduler-dev-guide/guide/uc7-update-service-appointment.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 761bfd6d793875ae5bd902ecfffb7e138479dac101500dbd688be2a50bb9bd09
products:
  - Salesforce Scheduler Developer Guide
  - Service Cloud Developer Content
---

# 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://developer.salesforce.com/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://developer.salesforce.com/media/salesforce-scheduler-dev-guide/screen_appointment_creation.png)

