---
title: "Update goals"
method: PUT
path: "/api/goals"
---

# Update goals

`PUT /api/goals`

## Request

- Base URL: `https://healthpartner.shrynshjn.com`
- URL: `https://healthpartner.shrynshjn.com/api/goals`
- Auth: none declared

## Request body

- UpdateGoalsRequest
  - `goals` GoalItem[], required
    - `parameter` string, required
    - `target` number, required
    - `type` 'min' | 'max' | 'target', required
    - `unit` string, required
  - `idempotencyKey` string

## Response `200`

Updated

- UpdateGoalsResponse
  - `message` string
  - `updated` number
  - `updatedAt` string, date-time

---

[API](https://skmtc.dev/shrynshjn/apis/health-partner-api.md) · [All operations](https://skmtc.dev/shrynshjn/apis/health-partner-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shrynshjn/apis/health-partner-api/revisions/687e966e4267?raw)
