v1
latestOpenAPI 3.1.02026-08-065163115.0 KBBudgets
Update a budget
Updates a budget's top-level configuration. To change members or owners, use their respective endpoints — budget members and budget owners.
patch/v1/businesses/{client_id}/budgets/{budget_id}
Path parameters
client_idinteger required
Example:123
The ID of the business.
budget_idstring required
The ID of the budget.
Request body
Example request
{
"name": "Sales Team",
"reset_amount": 1500,
"reset_period": "MONTHLY",
"has_member_limits": true,
"rollover_funds": true,
"limit_categories": true,
"custom_fields": [
{
"id": "a2b1d8c0-9a4e-4b8a-bf24-90af44a98e2f"
}
]
}Response
OK
Example response
{
"id": "e33b7c61-5124-4ba0-b238-e4c573133715",
"name": "Sales Team",
"budget_type": "BUDGET",
"available_amount": 800,
"spent_amount": 200,
"reset_amount": 1000,
"reset_period": "MONTHLY",
"current_period_start": "2024-01-01T00:00:00Z",
"current_period_end": "2024-01-31T23:59:59Z",
"categories": [
{
"id": "7f183748-c7fb-428a-9b2a-603a03dcabdb",
"name": "Travel"
}
],
"custom_fields": [
{
"id": "44b2add5-eeb2-456c-8918-9bb362b0e896",
"name": "Department"
}
],
"created": "2024-01-01T00:00:00Z",
"updated": "2024-01-01T00:00:00Z"
}