Replace all cash forecast overrides in a scope

PUT /api/v1/businesses/{business_id}/cfo-portal/cash-forecast/overrides

Atomically replace every override row in the matching scope.

Request Body:

  • version_id: Optional. If null, replaces the working override set; otherwise replaces overrides pinned to that saved version.
  • overrides: List of cells to override (week_number / column / amount_cents).

Effect: All existing overrides in the scope are deleted, then the provided rows are inserted. Use the empty list to clear the scope without deleting the URL.

Operation ID: cfo_portal_upsert_overrides_api_v1_businesses__business_id__cfo_portal_cash_forecast_overrides_put · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

business_id string required

Request body

version_id string
overrides array · CashForecastOverrideInput CashForecastOverrideInput
6 fields
week_number integer required
column string required

One of: ar_in, ap_out, inventory, debt, budget_rev, budget_exp, one_time

amount_cents integer
source string

One of: user, ai

ai_scenario_label string
note string

Responses

200 Successful Response

version_id string
items array · CashForecastOverride CashForecastOverride
11 fields
id string required
business_id string required
version_id string
week_number integer required
column string required

One of: ar_in, ap_out, inventory, debt, budget_rev, budget_exp, one_time

override_amount_cents integer
source string

One of: user, ai

ai_scenario_label string
note string
created_at string · date-time required
updated_at string · date-time required

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object