Upsert managerial bucket assignments for GL accounts

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

Save bucket assignments edited on the Recipe Book page.

The response is the refreshed Recipe Book section so the frontend can swap state in one round-trip without a follow-up GET.

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

mappings array · ManagerialMappingItem ManagerialMappingItem
2 fields
ledger_id string required
bucket string

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