Create contract
Creates a new contract.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Specifies the tenant context for the request. All endpoints operate within this tenant scope.
"tnt_pfh0haxfpzowht3oi213cqos"
Body
Request body used to create a contract resource.
Request body used to create a contract resource.
Unique identifier of the client.
"clnt_z2b3mo8qa5kzptgsu26q2wmh"
Contract name.
1 - 255"Standard Service Contract"
Monetary amount in minor units (e.g., cents).
0 <= x <= 90071992547409915000
ISO 4217 currency code.
3"EUR"
Detailed contract description.
"This contract covers standard service terms and conditions."
Order of the resource for sorting purposes.
0 <= x <= 900719925474099113
Contract validity start date.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2023-10-05T14:48:00.000Z"
Contract validity end date.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2023-10-05T14:48:00.000Z"
Response
Default Response
Standard success response payload wrapped in a data property.
Contract resource returned by the API.