Create contract

A request to create a new contract. A contract is assigned to a specific debtorId. It represents the legal construct around a purchase or subscription. A contract must contain contractItems (e.g. for individual purchases - see Contract Item Model for more details) or a planId (e.g. for subscriptions - see Plan Model for more details). It can contain both simultaneously.

Contract items can not be added or amended after the initial POST of the contract. If additional items need to be assigned to a contract, a new billable item must be generated. Please see Billable Item Model for more details.

A contract automatically generates billable items via the contract items or usages of the associated plan. Please see the Billable Item Model, Contract Item Model or Usage Model for more details.

Language