Update a managerial bucket

PUT /api/v1/businesses/{business_id}/cfo-portal/buckets/{bucket_key}

Update a managerial bucket.

Built-in buckets accept label and color only (display overrides). Custom buckets accept any field included in the body.

Operation ID: cfo_portal_update_bucket_api_v1_businesses__business_id__cfo_portal_buckets__bucket_key__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
bucket_key string required

Request body

label string

Display name for the bucket

color string

Color theme: green, orange, indigo, accent, gray

classification string

Bucket classification: operating_revenue, cogs, operating_expense, other_income, other_expense

sort_order integer
is_active boolean

Responses

200 Successful Response

id string required
key string required
label string required
color string required
classification string required
sort_order integer required
is_active boolean required
is_default boolean

True for built-in default buckets

can_delete boolean

Whether the bucket can be deleted from Recipe Book. Some built-in buckets are locked.

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