---
title: "Update a project revenue recognition entry"
method: PATCH
path: "/project-revenue-recognition-entries/{id}"
tags: ["Project Revenue Recognition Entries"]
---

# Update a project revenue recognition entry

`PATCH /project-revenue-recognition-entries/{id}`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/project-revenue-recognition-entries/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `date` string, date: The date (`YYYY-MM-DD`) of the entry.
  - `amount` number: The total amount of the entry.
  - `notes` string, nullable: Any notes about the entry (max 255 chars).

## Response `200`

200

- ProjectRevenueRecognitionEntry
  - `id` string: The unique identifier for the object.
  - `date` string, date: The date of the entry. Will be in the form YYYY-MM-DD.
  - `amount` number: The total amount of the entry.
  - `notes` string, nullable: Any notes about the entry.
  - `type` 'automated' | 'manual': How the entry was created. `automated` when Ruddr generated it, `manual` when a member or the API added it. Updating the `amount` or `date` of an `automated` entry makes it `manual`.
  - `createdAt` string, date-time: The timestamp when the object was created.
  - `project` object: The project this entry belongs to.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the project.
    - `client` object: The client associated with the project.
      - `id` string: The unique identifier for the object.
      - `name` string: The name of the client.

## Other responses

- `400`: 400
- `404`: 404

---

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