DocsAPI ReferenceBranch Cost/bff/branch-cost/entry-upsert
postBranch CostAdmin BFF

/bff/branch-cost/entry-upsert

Set the monthly value for a variable cost (idempotent upsert)

Branch CostpostBffBranch-costEntry-upsert

Parameters

4 body

4 total
Body · 4
costIdstringRequired

External id of the variable cost.

yearMonthstringRequired

YYYY-MM.

amountMoneynumberRequired
Range: 0
notestring | null

Request

POST /bff/branch-cost/entry-upsert

post
curl -X POST "https://api.bizkithub.com/bff/branch-cost/entry-upsert" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "costId": "example_costId",
  "yearMonth": "example_yearMonth",
  "amountMoney": 0
}'

Response

JSON payload

{
  "success": false,
  "entryId": "example_entryId"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key