/bff/contract/update
Updates contract fields. Only provided fields are changed. Cannot update a finalized (PDF-generated) contract.
ContractpostBffContractUpdate
Parameters
6 body
Body · 6
contractIdnumberRequiredInternal contract ID to update.
titlestringNew contract title.
Length: 1–∞
contentstringNew contract body in Markdown format.
statusstring | string | string | string | string | string | string | stringContract lifecycle status.
validFromstringNew validity start (ISO timestamp).
validTostringNew validity end (ISO timestamp).
Request
POST /bff/contract/update
curl -X POST "https://api.bizkithub.com/bff/contract/update" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"contractId": 10,
"title": "Updated Agreement",
"content": "# Updated content",
"status": "draft",
"validFrom": "2026-01-01T00:00:00.000Z",
"validTo": "2027-01-01T00:00:00.000Z"
}'Response
JSON payload
{
"success": false
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.