Create contract

Creates a new contract.

The request body must contain the name, idApp, and status of the contract.

Dates should be sent in ISOString format. Example: "2022-02-03"

Currency fields (e.g., amount) can be numbers ("amount": 1500, uses org default currency) or objects to set a different currency: "amount": { "value": 23000000, "currency": "EUR" }. Cannot set currency as a top-level field.

Optional lineItems are created with the contract (each needs a description; quantity, pricePerUnit, totalCost, currency, startDate, endDate, sku and the other value fields are optional; row ids and license mapping cannot be set here). Read them back with GET /contracts/{idContract}?fields=lineItems.

  • Rate limit: 200 requests per minute

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Contract

string
required
integer
required
1 to 2147483647

Unique app identifier

string
required

Contract status

integer
date-time

Contract start date, in ISO 8601 format (e.g. "2022-02-03")

date-time

Contract end date, in ISO 8601 format (e.g. "2022-02-03")

lineItems
array of objects
length ≤ 100

Products / SKUs on the order, created as the contract's line items

lineItems
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*