Skip to main content
PATCH
/
projects
/
{project_id}
Update a project
curl --request PATCH \
  --url https://{your-workspace}.neetoinvoice.com/api/external/v1/projects/{project_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "project": {
    "name": "Updated Website Redesign Initiative",
    "hourly_rate": 75.5,
    "billing_method": "hourly_project_rate",
    "currency": "USD",
    "flat_amount": 5000,
    "internal_notes": "This is a priority project with tight deadlines",
    "time_round_upto": 15,
    "autolock_enabled": true,
    "reply_to": "[email protected]",
    "enable_approvals": true,
    "notify_timesheet_approval_request_instantly": false,
    "notify_timesheet_approval_request_weekly": true,
    "timesheet_approval_email_notification_day": "friday",
    "timesheet_approval_email_notification_time": "17:00",
    "autolock_settings": {
      "end_of_the_day": true,
      "end_of_the_week": false,
      "end_of_the_month": false
    },
    "tasks_attributes": [
      {
        "id": "65603092-9418-4f55-9d54-e0fe4b8b1c79",
        "name": "Updated UI Design Phase",
        "billable": true,
        "hourly_rate": 85,
        "checklists_attributes": [
          {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "description": "Review wireframe mockups"
          }
        ]
      }
    ]
  },
  "email": "[email protected]"
}
'
{
  "notice_code": "<string>",
  "project": {
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "identifier": "<string>",
    "billing_method": "<string>",
    "hourly_rate": 123,
    "flat_amount": "<string>",
    "status": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "last_invoice_id": "<string>",
    "internal_notes": "<string>",
    "time_round_upto": 123,
    "autolock_enabled": true,
    "autolock_settings": {
      "end_of_the_day": "<string>",
      "end_of_the_week": "<string>",
      "end_of_the_month": "<string>"
    },
    "currency": "<string>",
    "reply_to": "[email protected]",
    "enable_approvals": true,
    "notify_timesheet_approval_request_instantly": true,
    "timesheet_approval_email_notification_day": "<string>",
    "timesheet_approval_email_notification_time": "<string>"
  }
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Path Parameters

project_id
string
required

Unique ID of the project for which you want to retrieve or update details. Refer to Getting the Project ID section for detailed instructions.

Body

application/json
project
object
required
email
string<email>
required

Email of the user updating the project. Required for authentication and user identification.

Response

200 - application/json

OK - Project updated successfully

notice_code
string
project
object