Update Contract
documentedUpdate a contract.
PUT /cmdb/contracts/[id].jsonContractsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{domain}}.freshservice.com/cmdb/contracts/{{$contract_id}}.json" \
-X PUT \
-u "apikey:{{FRESHSERVICE_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{\"name\": \"{{$name}}\", \"start_date\": \"{{$start_date}}\", \"end_date\": \"{{$end_date}}\", \"vendor\": \"{{$vendor}}\", \"contract_number\": \"{{$contract_number}}\", \"description\": \"{{$description}}\", \"terms\": \"{{$terms}}\", \"cost\": {{$cost}}, \"currency\": \"{{$currency}}\", \"status\": \"{{$status}}\", \"attachments\": {{$attachments}} }'