Contracts

Update contract

Creates a new version of the contract. The contract type is immutable and cannot be changed by an update.

post/customers/{customerID}/contracts/{contractID}

Request

  • Base URL
    https://api.doit.com
  • URL
    https://api.doit.com/customers/{customerID}/contracts/{contractID}
  • Auth
    • API key in header Authorization
    • or API key in header X-Tenant-Id and API key in header Authorization

Path parameters

customerIDstring required
contractIDstring required

Request body

namestring required
startDatestring date-time required
endDatestring date-time nullable
renewalPolicy'auto' | 'manual' | 'fixed' required
invoicesEmailstring email required
contractUpdatesEmailstring email required
billingProfileobject required

The billing profile (name, country, state, city, address, zip).

managementAccountsstring[]
billingRulesobject[]
priceBooksobject[]
customLineItemsobject[]

Response

OK - New contract version created.

contractIdstring
versioninteger
statusstring
messagestring
timestampstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.