NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Visit Type → Update

AI-generated

Summary

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.

Links

Discussion