PATCH
/v1/accounting/deal-splits/{id}Change accounting deal-splits id
Corrects a stake's terms. Body, all optional: basis, sharePpm, flatAmountMinor, notes. Who the stake is FOR cannot be patched — that makes it a different stake, so retire this one with post_accounting_deal-splits_id_deactivate and add its successor. Hold is its own pair of verbs so that the reason is required and the timestamps are checked in pairs.
Access class: workspace.
Send request
Use the documented inputs to call this endpoint directly.
API serverbase URL
Bearer tokensessionoptional
Stored only in this browser for the session security scheme and reused on every API page in this group.
Parameters
Values are applied to the request and the example on the right.
idpath · stringrequired
Request body
application/jsonrequiredbodyoptional
paramsoptional
queryobjectoptional
Responses
200application/json
the action's answer
{
"data": {
"accountId": "",
"availability": {
"availableMinor": 1,
"clawbackShareMinor": 1,
"collectedMinor": 1,
"drawnMinor": 1,
"entitledMinor": 1,
"isHeld": true,
"pendingMinor": 1,
"unpaidMinor": 1
},
"basis": "string",
"createdAt": "string",
"crmUserId": 1,
"deactivatedAt": "string",
"dealId": 1,
"detail": {},
"externalParty": "string",
"flatAmountMinor": 1,
"held": true,
"heldReason": "string",
"id": 1,
"notes": "string",
"partyKind": "string",
"sharePpm": 1,
"status": "string",
"updatedAt": "string"
}
}dataoptional
defaultapplication/json
a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}errorstringrequired