Contracts
Update a contract.
patch/v2/contracts/{contract_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
Request body
Example request
{
"billing_interval": "month",
"starts_at": 1767225600,
"ends_at": 1767225600
}Response
Success.
Example response
{
"status": "active",
"billing_interval": "month",
"starts_at": 1767225600,
"ends_at": 1767225600,
"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.