v1
latestOpenAPI 3.0.32026-08-0613775357.6 KBexpense items
Update expense item
Updates an existing expense item.
put/users/{user_id}/expense_items/{expense_item_id}
Path parameters
user_idinteger required
The ID of the user.
expense_item_idinteger required
The ID of the expense item.
Request body
Example request
{
"date": "2055-04-09",
"amount": 555,
"category": "Travel",
"notes": "Updated notes for client meeting."
}Response
The expense item was updated successfully.
Example response
{
"expense_item_id": 1,
"assignable_id": 32,
"assignable_type": "Project",
"user_id": 2,
"amount": 10,
"date": "2015-04-09",
"notes": "Testing exp",
"created_at": "2015-04-09T21:54:13Z",
"updated_at": "2015-04-09T21:54:13Z"
}