Contracts
Update a contract line.
patch/v2/contracts/{contract_id}/lines/{line_id}
Request
- Base URLhttps://docs.ledgerup.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
contract_idstring required
line_idstring required
Request body
Example request
{
"starts_at": 1767225600,
"ends_at": 1767225600,
"billing_timing": "arrears",
"proration": "prorate"
}Response
Success.
Example response
{
"quantity": "1",
"status": "active",
"starts_at": 1767225600,
"ends_at": 1767225600,
"billing_timing": "arrears",
"proration": "prorate",
"created_at": 1767225600,
"updated_at": 1767225600,
"canceled_at": 1767225600,
"cancel_at": 1767225600
}Changes
No recorded changes to this operation across all 1 revision of this API.