Record an approved variation to an open commitment (ADMIN+)
PATCH
/property-management/commitments/{commitmentId}
const url = 'https://api.invogi.com/v1/property-management/commitments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"amount_limit":"example","tolerance_pct":1,"valid_from":"2026-04-15","valid_to":"2026-04-15"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.invogi.com/v1/property-management/commitments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "amount_limit": "example", "tolerance_pct": 1, "valid_from": "2026-04-15", "valid_to": "2026-04-15" }'Changes the limit, tolerance, or validity dates and records the previous values in the audit log. Every linked invoice is queued for re-check so passes and holds reflect the new terms; historical findings keep the limit they saw as evidence.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”commitmentId
required
string format: uuid
Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
amount_limit
string | null
tolerance_pct
number
valid_from
string | null format: date
valid_to
string | null format: date
Example generated
{ "amount_limit": "example", "tolerance_pct": 1, "valid_from": "2026-04-15", "valid_to": "2026-04-15"}Responses
Section titled “Responses”Updated commitment
Media typeapplication/json
object
id
required
string
organizationId
required
string
operatingContextId
required
string
supplierId
required
null | string
kind
required
string
reference
required
string
name
required
string
currency
required
string
amountLimit
required
null | string
tolerancePct
required
string
validFrom
required
null | string
validTo
required
null | string
recoveryTreatment
required
string
recoveryBasis
required
null | string
vatTreatment
required
null | string
status
required
string
metadata
required
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Example generated
{ "id": "example", "organizationId": "example", "operatingContextId": "example", "supplierId": "example", "kind": "example", "reference": "example", "name": "example", "currency": "example", "amountLimit": "example", "tolerancePct": "example", "validFrom": "example", "validTo": "example", "recoveryTreatment": "example", "recoveryBasis": "example", "vatTreatment": "example", "status": "example", "metadata": "example", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z"}Invalid request
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json
Resource not found
Media typeapplication/json