v1
latestOpenAPI 3.0.02026-07-24102143224.1 KBContracts
Update contract obligation
patch/v3/contracts/{id}/obligation/{obligationId}
Path parameters
idstring required
Example:123e4567-e89b-12d3-a456-426614174000
Contract Id
obligationIdstring required
Example:123e4567-e89b-12d3-a456-426614174000
Obligation Id
Request body
Example request
{
"name": "Name",
"description": "Description",
"itemId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"classId": "123e4567-e89b-12d3-a456-426614174000",
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"eventTypeId": "123e4567-e89b-12d3-a456-426614174000",
"price": "100.00",
"invoiceDateStrategy": "FIRST_OF_PERIOD",
"netPaymentTerms": 1,
"includeInArr": true,
"billingStartDate": "2024-01-01",
"billingFrequency": 1,
"billingFrequencyUnit": "MONTH",
"totalNumberOfInvoices": 1,
"revenueStartDate": "2024-01-01",
"revenueEndDate": "2024-01-01",
"discount": {
"type": "PERCENTAGE",
"amount": "10",
"note": "Early payment discount"
},
"regenerateInvoices": true
}Response
Obligation updated successfully