Actions163
- Accounting Distribution Actions
- Appointment Device Actions
- Appointment Request Actions
- Appointment Room Actions
- Calendar Appointment Actions
- Calendar Journey Actions
- Calendar Opening Hour Actions
- Call Actions
- Clinic Actions
- Communication Record Actions
- Communication Template Actions
- Consultation Actions
- Credit Note Actions
- Doctor Actions
- Document Template Actions
- Feature Actions
- Global Product Actions
- Invoice Actions
- Lead Actions
- Media Montage Actions
- Media Record Actions
- Medical History Actions
- Object Label Actions
- Patient Actions
- Payment Actions
- Payment Medium Actions
- Photo Compare Actions
- Prescription Actions
- Product Actions
- Quote Actions
- Sub Visit Type Actions
- Survey Form Actions
- Treatment Actions
- Treatment Package Actions
- Treatment Pricing Actions
- Treatment Type Actions
- User Actions
- Visit Actions
- Visit Type Actions
- Visit Type Category Actions
- Webhook Actions
Visit Type → Update
AI-generatedSummary
Update an existing visit type in NextMotion by specifying its ID and modifying properties such as subject, color, and optional fields like category, display settings, duration, reminder days, and price.
Inputs
- Clinic — Optionally select the clinic related to the visit type, either from a searchable list or by specifying a UUID.
- Visit Type (required) — Identify the visit type to update by selecting from a list (filtered by the chosen clinic) or by providing its ID as a string.
- Subject (required) — Set the display name of the visit type.
- Color (required) — Specify the RGBA hex color code representing the visit type's color.
- Update Fields — Optionally update additional properties such as category ID, display in agenda or dashboard flags, duration in minutes, next visit reminder days, and price.
Output shape
a single JSON object representing the updated visit type
The operation returns the updated visit type data as a JSON response. The output includes all the fields after update. Errors will be thrown on invalid IDs or request issues.
Examples
Example 1: Update a visit type's subject and color
Specify visitTypeId, set a new subject and color values, optionally update fields like duration or price.