Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Update Appointment Action
Update an existing appointment.
This action is available in API version 65.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/67.0/connect/health/appointment-management/appointment/{id}
- Formats
- JSON, XML
- HTTP Methods
- PUT
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| appointmentTypes |
|
| channelId |
|
| comment |
|
| description |
|
| endDate |
|
| id |
|
| participants |
|
| serviceCategories |
|
| serviceTypes |
|
| slots |
|
| sourceSystem |
|
| specialties |
|
| startDate |
|
| timeZone |
|
| workTypeId |
|
Outputs
| Output | Details |
|---|---|
| id |
|
| isSuccess |
|
| status |
|
| errorMessages |
|
Example
- PUT
This sample request is for the Update Appointment action.
1{
2 "inputs": [
3 {
4 "id": "08pxx000000Axq6xxC",
5 "workTypeId": "08qxx000000Axq6xxC",
6 "channelId": "0eFSG000000NNOV2A0",
7 "description": "Discussion",
8 "startDate": "2025-07-21T18:00:00.000Z",
9 "endDate": "2025-07-21T18:30:00.000Z",
10 "comment": "Payload for the internal salesforce system",
11 "participants": [
12 {
13 "reference": "Patient/001xx000012udqQxxQ"
14 },
15 {
16 "reference": "Practitioner/0bSxx0000005JoaxxE",
17 "isReferenceRequired": true
18 },
19 {
20 "reference": "Facility/001xx000012udqhxxA"
21 }
22 ]
23 }
24 ]
25}This sample response is for the Update Appointment action.
1[
2 {
3 "id": "08pxx000000Axq6xxC",
4 "isSuccess": true,
5 "status": "Scheduled",
6 "errorMessages": []
7 }
8]