---
title: "Update time entry"
method: PUT
path: "/entries"
tags: ["[v1] Entry"]
---

# Update time entry

`PUT /entries`

Update time entries.

## Request body

- object
  - `id` integer, required — entry id
  - `start_time` string — entry start hour
  - `end_time` string — entry end time
  - `duration` integer — entry duration in seconds
  - `date` string — entry date in `YYYY-MM-DD` format
  - `note` string — note for entry, same as `description`
  - `description` string — description for entry, same as `note`
  - `invoiceId` integer — entry invoice id
  - `task_id` integer — entry task id
  - `billable` boolean — is entry billable

## Response `200`

OK response

- object
  - `time_span` number — entry duration
  - `entry_id` union
    - string
    - integer
  - `user_id` union
    - string
    - integer
  - `date` string
  - `task_id` union
    - string
    - integer
  - `locked` union
    - string
    - integer
  - `last_modify` string
  - `note` string
  - `start_time_hour` string
  - `end_time_hour` string
  - `invoiceId` union
    - string
    - integer
  - `billable` union
    - string
    - boolean

## Other responses

- `400` — some examples of Bad Request responses
- `403` — some examples of Forbidden response

---

[API](https://skmtc.net/timecamp/apis/timecamp-api.md) · [All operations](https://skmtc.net/timecamp/apis/timecamp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timecamp/timecamp-api/revisions/c7e9d1f9cf61/schema)
