Skip to main content
PUT
/
clients
/
{client_id}
/
fees
/
{fee_id}
Update fee
curl --request PUT \
  --url https://api.projectcor.com/v1/clients/{client_id}/fees/{fee_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "estimate": 123,
  "work_order": "<string>",
  "description": "<string>",
  "frequency": 123,
  "status": "active",
  "estimated_time": 123,
  "start": "2023-12-25",
  "end": "2023-12-25",
  "currency_id": 123
}
'
{
  "id": 123,
  "name": "<string>",
  "estimate": 123,
  "work_order": "<string>",
  "description": "<string>",
  "frequency": 123,
  "status": "active",
  "estimated_time": 123,
  "start": "2023-12-25",
  "end": "2023-12-25",
  "currency_id": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

client_id
integer
required
fee_id
integer
required

Body

application/json
name
string
required

Name of fee

estimate
number<float>
required

Estimate

work_order
string
required

Work order

description
string

Description

frequency
integer

Frequency

status
enum<string>

Status

Available options:
active,
inactive
estimated_time
integer

Estimated time in hours

start
string<date>

Start date

end
string<date>

End date

currency_id
integer

Currency of fee

Response

200 - application/json

Fee updated successfully

id
integer
name
string
estimate
number<float>
work_order
string
description
string
frequency
integer
status
enum<string>
Available options:
active,
inactive
estimated_time
integer
start
string<date>
end
string<date>
currency_id
integer