Upsert managerial builder line account selections

PUT /api/v1/businesses/{business_id}/cfo-portal/recipe-book/managerial-builders

Save account selections for CM1/CM2 and cash-outflow builder lines.

Operation ID: cfo_portal_upsert_managerial_builders_api_v1_businesses__business_id__cfo_portal_recipe_book_managerial_builders_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

builders array · ManagerialBuilderItem ManagerialBuilderItem
3 fields
key string required

Builder key: cm1, cm2, cash_outflow_debt, cash_outflow_inventory

label string

Display label for this builder line.

ledger_ids array · string

Chart-of-accounts ledger IDs included in this builder.

Responses

200 Successful Response

business_id string required
section string required
generated_at string · date-time required
start_date string · date
end_date string · date
sources array · CfoPortalSource CfoPortalSource
4 fields
key string required
label string required
status string

available, empty, partial, or unavailable

message string
data object

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