Skip to main content
POST
Create Contract Api

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Schema for contract creation request.

customer_uuid
string<uuid>
required

UUID of the customer

template_uuid
string<uuid>
required

UUID of the template

option_uuid
string<uuid>
required

UUID of the selected option

service_quantities
ServiceQuantityIn · object[]
required

List of service quantities with their respective UUIDs

contract_start_date
string<date> | null

Start date of the contract

invoice_start_date
string<date> | null

Invoice start date of the contract

Response

Contract created successfully

Schema for contract creation response.

contract_uuid
string
required

UUID of the created contract

message
string
required

Success message