---
title: "Update daily goal targets"
method: PUT
path: "/Metrics/daily-goals"
tags: ["Metrics"]
---

# Update daily goal targets

`PUT /Metrics/daily-goals`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Metrics/daily-goals`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/Metrics/daily-goals/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- UpdateDailyGoalDto[]
  - `metricName` string
  - `goalValue` union
    - number, double
    - string, double

## Response `200`

OK

- BusinessMetricsResponseDtoOfListOfDailyGoalMetricDto
  - `success` boolean
  - `data` DailyGoalMetricDto[], nullable
    - `label` string
    - `value` union
      - number, double
      - string, double
    - `goal` union
      - number, double
      - string, double
    - `unit` string
  - `error` string, nullable
  - `message` string, nullable

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
