added
v1.11
over 2 years ago by Khizar Naeem
Introducing contract termination. You can terminate an active contract with the API.
The complete list of changes in this version is:
1. Terminate the contract. link
curl --location --request POST 'https://api.letsdeel.com/rest/v1/contracts/{id}/terminations' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"terminate_now": false,
"message": "The project is coming to an end.",
"completion_date": "2022-12-31"
}
}'
2. Archive a contract. link
curl --location --request PATCH 'https://api.letsdeel.com/rest/v1/contracts/{id}/archive' \
--header 'Authorization: Bearer {token}'
2. Sign an amendment. link
curl --location --request POST 'https://api.letsdeel.com/rest/v1/contracts/{id}/signatures' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"client_signature": "Jane Doe"
}
}'