/visits/{id}Update an appointment
Base URL https://api.vseepreview.com/api_v3 · operationId updateVisit
Authentication: User Token — Requires a user access token from login or SSO.
Update an existing appointment (e.g., change time or provider)
| Name | In | Type | Required | Enum | Default | Description |
|---|---|---|---|---|---|---|
X-ApiToken | header | string | yes | API token (e.g. your_api_token) | ||
X-AccountCode | header | string | yes | Account code (e.g. vclinic) | ||
id | path | string | yes | Visit ID (e.g. 666) | ||
version | query | integer | no | API version - use 2 for update operations (e.g. 2) | ||
slot_start | query | integer | no | UNIX timestamp of new appointment start (optional) | ||
slot_end | query | integer | no | UNIX timestamp of new appointment end (optional) | ||
provider_id | query | string | no | New provider ID (optional). Set to 0 to remove provider. (e.g. 566) |
200 — Visit updated successfullyVisit updated — Successfully updated appointment
{
"data": {
"member_id": 567,
"provider_id": 566,
"account_code": "vclinic",
"code": "615f2e2eabc46ad94e9b6457b11",
"start": 1631628616,
"end": 1631628916,
"type": 2,
"status": 30
}
}
401 — Unauthorized{
"error": "Unauthorized",
"message": "Invalid or missing API token"
}
Machine-readable: OpenAPI JSON (operationId: updateVisit)