v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Contracts

Create contract

Creates a draft contract for the specified customer. Requires the caller to be the direct parent (T1 for a T2-level contract, T2 for a T3-level contract). Write access requires a role without contractsReadOnly; user API tokens must include the matching permission in their scope.

post/customers/{customerID}/contracts

Path parameters

customerIDstring required

The customer (tenant) the contract is created for.

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

Created - The contract draft was created.

contractIdstring
versioninteger
statusstring
messagestring
timestampstring date-time