---
title: "Upsert a weight entry for a given date"
method: PUT
path: "/api/weight-entries"
tags: ["weight-entries"]
---

# Upsert a weight entry for a given date

`PUT /api/weight-entries`

## Request

- Base URL: `https://node-log-weight-tennisappservicegmailcoms-projects.vercel.app`
- URL: `https://node-log-weight-tennisappservicegmailcoms-projects.vercel.app/api/weight-entries`
- Auth: HTTP bearer

## Request body

- WeightEntryInput
  - `date` string, date
  - `morningWeight` number, nullable
  - `eveningWeight` number, nullable
  - `calories` number, nullable
  - `workout` string, nullable
  - `notes` string, nullable

## Response `200`

Upserted

---

[API](https://skmtc.dev/weight-forecast/apis/weight-forecast-api.md) · [All operations](https://skmtc.dev/weight-forecast/apis/weight-forecast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/weight-forecast/apis/weight-forecast-api/revisions/e5dac1d3ae8c?raw)
