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_idstringrequired

Request body

version_idstring
overridesarray · CashForecastOverrideInputCashForecastOverrideInput
6 fields
week_numberintegerrequired
columnstringrequired

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

amount_centsinteger
sourcestring

One of: user, ai

ai_scenario_labelstring
notestring

Responses

200Successful Response

successboolean
messagestring
codestring
dataCashForecastOverrideList

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject