NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Treatment Package → Update

AI-generated

Summary

Update a treatment package identified by its ID with new name, pricing items, and optional fields such as price and VAT rate.

Inputs

  • Treatment Package Id (required) — The unique identifier of the treatment package to update.
  • Name (required) — The new display name for the treatment package.
  • Items (JSON) (required) — An array of treatment price lines to bundle within the package, each specified by treatment_pricing ID.
  • Update Fields — Additional optional fields to update on the treatment package, including 'Price' and 'VAT Rate'.

Output shape

a single updated treatment package record

The response contains the updated details of the treatment package. The operation sends a body with updated values including name, items array, price, and VAT rate. Requests can be batched using node settings.

Examples

Example 1: Update treatment package with new name, items, price, and VAT rate

Provide the treatmentPackageId of the package to update; set treatmentPackageName to the new display name; provide packageItems as a JSON array of treatment_pricing IDs; optionally set price and vat_rate in Update Fields.

Links

Discussion