Sign in

Update contract

documented

Update a contract.

PUT /contract/{contractId}Contractno implementation yet0 runs
No 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://api.servicetrade.com/api/contract/{{$contractId}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Cookie: PHPSESSID={{SERVICETRADE_SESSION_TOKEN}}" \
  -d '{"name": "{{$name}}", "vendorId": {{$vendorId}}, "customerId": {{$customerId}}, "startsOn": {{$startsOn}}, "expiresOn": {{$expiresOn}}, "ownerId": {{$ownerId}}, "salesId": {{$salesId}}, "active": {{$active}}, "parentId": {{$parentId}}, "regionId": {{$regionId}}, "officeId": {{$officeId}}, "locationId": {{$locationId}}, "jobType": "{{$jobType}}", "description": "{{$description}}", "invoiceNotes": "{{$invoiceNotes}}", "paymentTermsId": {{$paymentTermsId}} }'
Update contract · ServiceTrade · OpenIntegrations