autotask_update_contract
Update an existing Autotask contract by providing the contract ID and any fields to change. Unspecified fields stay the same; use status 1 for active, 0 for inactive.
Instructions
Update an existing Contract in Autotask (PATCH). Pass only fields you want to change; everything except id is optional. status: 1=In Effect, 0=Inactive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Contract ID to update | |
| companyID | No | Company ID | |
| contractName | No | Contract name | |
| contractType | No | Contract type picklist ID | |
| contractCategory | No | Contract category picklist ID | |
| startDate | No | Contract start date (ISO YYYY-MM-DD) | |
| endDate | No | Contract end date (ISO YYYY-MM-DD) | |
| contactID | No | Primary contact ID | |
| contractNumber | No | External-facing contract number | |
| contractPeriodType | No | Period type picklist ID | |
| description | No | Contract description / notes | |
| estimatedCost | No | Estimated cost | |
| estimatedHours | No | Estimated hours | |
| estimatedRevenue | No | Estimated revenue | |
| setupFee | No | Setup fee amount | |
| overageBillingRate | No | Overage billing rate | |
| serviceLevelAgreementID | No | SLA ID | |
| purchaseOrderNumber | No | Customer purchase order number | |
| opportunityID | No | Originating opportunity ID | |
| billingPreference | No | Billing preference picklist ID | |
| billToCompanyID | No | Bill-to company ID | |
| billToCompanyContactID | No | Bill-to contact ID | |
| exclusionContractID | No | Exclusion contract ID | |
| isDefaultContract | No | Whether this is the default contract for the company | |
| internalCurrencySetupFee | No | Setup fee in internal currency | |
| internalCurrencyOverageBillingRate | No | Overage rate in internal currency | |
| organizationalLevelAssociationID | No | Org level association ID | |
| contractExclusionSetID | No | Contract exclusion set ID | |
| renewedContractID | No | ID of the contract this renewed | |
| setupFeeBillingCodeID | No | Billing code ID for the setup fee | |
| status | No | Contract status (1=In Effect, 0=Inactive) | |
| timeReportingRequiresStartAndStopTimes | No | Whether time entries require start/stop times |