added
v1.10
over 2 years ago by Khizar Naeem
Introducing contract templates. You can retrieve all contract templates in your organization.
The complete list of changes in this version is:
1. Retrieve contract templates. link
curl --location --request GET 'https://api.letsdeel.com/rest/v1/contract-templates' \
--header 'Authorization: Bearer {token}'
2. Sign a contract using a template. link
curl --location --request POST 'https://api.letsdeel.com/rest/v1/contracts/m9zxe29/signatures' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"client_signature": "Jane Doe",
"contract_template_id": 12345
}
}'
3. New fields in contract creation payload.
We have added two new (optional) fields in the contract creation payload:
- who_reports: You can select who is allowed to add work. Choose between
client
,contractor
orboth
. - notice_period: You can add the notice period when creating contracts.