Actions181
- Invoice Actions
- Timesheet Actions
- Customer Actions
- Ticket Actions
- Lead Actions
- Project Actions
- Contract Actions
- Estimate Actions
- Expense Actions
- Proposal Actions
- Staff Actions
- Task Actions
- Credit Note Actions
- Item Actions
- Payment Actions
- Contact Actions
- Note Actions
- Knowledge Base Actions
- Knowledge Base Group Actions
- Subscription Actions
- Utility Actions
Contract → Update
AI-generatedSummary
Update a contract in PerfexCRM by specifying its Contract ID and any fields to modify, including standard and custom fields.
Inputs
- Contract ID (required) — The ID of the contract to update.
- Update Fields — Fields to update on the contract such as Subject, Client ID, Start Date, End Date, Contract Type, Contract Value, Description, Content, and Custom Fields where custom fields are specified by their numeric ID or slug with corresponding values.
Output shape
a single JSON object representing the updated contract record.
The operation returns the updated contract data as a single record in JSON format. It validates date fields and non-negative numbers for appropriate update fields. If the update includes custom fields, they are properly applied before sending the request.
Examples
Example 1: Update the subject and contract value of a contract
Set Contract ID to the target contract's ID, then specify values for Subject and Contract Value in Update Fields.