Skip to content

Update a customer commitment

PATCH
/v1/customer-commitments/{id}
curl --request PATCH \
--url https://api.varman.io/v1/customer-commitments/example \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "type": "contract_clause", "title": "Notify security incidents within 72 hours", "description": {}, "dueDate": "2026-12-31T00:00:00.000Z", "status": "open", "ownerMemberId": "mem_abc123", "controlId": "ctl_abc123", "policyId": "pol_abc123" }'

Updates fields on a commitment, such as status or due date. Only the fields sent are changed. Send null to clear optional fields.

id
required
string
X-Organization-Id
string
Media typeapplication/json
object
type

Kind of commitment

string
Allowed values: contract_clause sla certification questionnaire_answer dpa other
title

Short title

string

Example

Notify security incidents within 72 hours
description

Details or contract wording

object
dueDate

ISO 8601 due date (null clears it)

object

Example

2026-12-31T00:00:00.000Z
status

Current status

string
Allowed values: open in_progress met at_risk waived
ownerMemberId

Member ID of the owner

object

Example

mem_abc123
controlId

Control that satisfies it

object

Example

ctl_abc123
policyId

Policy that covers it

object

Example

pol_abc123