PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Contract → Update

AI-generated

Summary

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.

Discussion