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>"
}
}This API allows to update an existing 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>"
}
}{your-workspace} with your workspace’s subdomain. 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.
Unique ID of the project for which you want to retrieve or update details. Refer to Getting the Project ID section for detailed instructions.
Hide child attributes
Name of the project.
"Updated Website Redesign Initiative"
Hourly rate for the project. Required if billing_method is 'hourly_project_rate'.
75.5
The billing strategy used for the project.
hourly_project_rate, hourly_person_rate, hourly_task_rate, fixed_price_project Currency used for billing.
"USD"
Fixed amount for the project. Required if billing_method is 'fixed_price_project'.
5000
Internal notes about the project.
"This is a priority project with tight deadlines"
Time rounding configuration in minutes.
0, 6, 15, 30 15
Whether automatic time entry locking is enabled.
true
Reply-to email address for project communications.
Whether timesheet approvals are required.
true
Send instant notifications for approval requests.
false
Send weekly notifications for approval requests.
true
Day of the week for weekly approval notifications.
sunday, monday, tuesday, wednesday, thursday, friday, saturday "friday"
Time of day for weekly approval notifications (24-hour format).
"17:00"
Configuration to automatically lock time entries.
Hide child attributes
Lock time entries at the end of each day.
true
Lock time entries at the end of each week.
false
Lock time entries at the end of each month.
false
List of tasks to update in the project.
Hide child attributes
Existing task ID for updates.
"65603092-9418-4f55-9d54-e0fe4b8b1c79"
Name of the task.
"Updated UI Design Phase"
Whether the task is billable.
true
Hourly rate for the task.
85
Email of the user updating the project. Required for authentication and user identification.
OK - Project updated successfully
Hide child attributes