Create contract
documentedCreate a new contract.
POST /contractContractno implementation yet0 runsInput
type
Contract type
default | company | template | quote
name
Contract name
Contract name
vendorId
Vendor company ID
vendor_id
customerId
Customer company ID
customer_id
startsOn
Contract start timestamp (Unix)
start timestamp
expiresOn
Contract expiration timestamp (Unix)
expires timestamp
description
Contract description
Optional description
quoteId
Quote ID
quote id
jobId
Job ID
job id
jobTermsId
Job terms ID
job terms id
quoteTermsId
Quote terms ID
quote terms id
invoiceTermsId
Invoice terms ID
invoice terms id
expectedRevenue
Expected revenue
e.g. 250000
expectedMargin
Expected margin (%)
percentage
totalCost
Total cost
Total cost
allItemsHaveCosts
All items have costs
true/false
actualMargin
Actual margin
percentage
Calls ServiceTrade as you (your API key is your account); keychains.dev holds the credentials.